bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #42423] base.make errouneously pollutes CONFIG_SYSTEM_* variables


From: Yavor Doganov
Subject: [bug #42423] base.make errouneously pollutes CONFIG_SYSTEM_* variables
Date: Sun, 13 Jul 2014 11:28:25 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36

Follow-up Comment #2, bug #42423 (project gnustep):

> That change was to avoid conflicting library versions
> being linked into base and gui ... 

I see.  The way to address this problem is to take care to relink all reverse
dependencies of the library.  Which I agreee is a bit tedious and even error
prone if you install everything manually.

> I don't really know/understand the benefits of explicitly
> specifying the libraries

There is no benefit at all.  If program foo links dynamically with libA which
dynamically links with libB, there is no good reason for foo to link with libB
(unless the dynamic linker is not capable of loading the DSOs in which case
the last resort would be static linking).  Imagine if libB is being linked
with libC and libD, and libD is linked with libE...  Shared libraries are
ubiquitous nowadays so a system would easily become unmaintainable mess if one
does that.  For this reason, almost all binary-based distros delete libtool
.la files or at least empty their dependency_libs field.  The GNUstep core
libraries have been doing a great job on this front by keeping their external
library dependencies unexposed.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42423>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]