Hi,

On Fri, Oct 02, 2009 at 12:45:14PM -0700, Eric J Korpela wrote:

> This isn't just to link in our own static libraries, but to statically
> link in other installed libtool libraries.  --disable-shared just
> means that we won't build a dynamic version of libboinc*.  You would
> still get dynamic versions of other libtool libraries linked into your
> executable.

But -static-libtool-libs won't help you with that, since there is no
guarantee that the other libraries were built using libtool, or the .la
file is distributed together the library. For example, Debian is
actively removing all .la files from the distribution (it's a release
goal for Squeeze). So you either need to use -all-static to do a full
static build which is problematic due to libc, or you have to add
explicit "-Wl,-Bstatic"/"-Wl,-Bdynamic" flags to the linker command
line.

Gabor

-- 
     ---------------------------------------------------------
     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences
     ---------------------------------------------------------
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to