[haiku-development] Re: libtool link_all_deplibs

  • From: François Revol <revol@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 03 Sep 2014 13:40:09 +0200

On 03/09/2014 07:21, Jérôme Duval wrote:
> 2014-09-02 8:57 GMT+02:00 Ingo Weinhold <ingo_weinhold@xxxxxx>:
>> On 01.09.2014 22:54, Jérôme Duval wrote:
>>>
>>> at the moment we configure libtool with link_all_deplibs = yes.
>>> This has the consequence that we link a program against each
>>> dependencies of a shared library: SDL_image for instance, and each of
>>> the libraries that depend on it, libjpeg, etc..
>>> Haikuporter detects that and says we should declare the dependencies.
>>> This can in the long term be a difficult to maintain correct
>>> dependencies on applications using some "interface" libraries.
>>>
>>> Question: is this something that should be changed? For Haiku itself?
>>> For  Haikuports only?
>>
>>
>> This entry might just have been copied from another OS's (BeOS) settings or
>> its meaning may have been misunderstood. If it means what you say, I think
>> we should indeed change it.
> 
> I think it worths a try at least. Though what it does now might be
> what we want for cross-builds and static builds.

It seems Debian folks agree it shouldn't be on by default:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702737

The docs aren't very clear anyway...
http://www.delorie.com/gnu/docs/libtool/libtool_71.html#IDX227

François.

Other related posts: