Hi Jason, * Jason Kraftcheck wrote on Tue, Feb 28, 2006 at 02:42:34AM CET: > Automake includes the contents of the $LIBS variable in all link commands, > including linking libraries. This results in the following behavior:
> 3) If libtool is creating a shared library, and one or more of the libraries > in > $LIBS is static, behavior is *incorrect*. libtool links the objects in the > static archives into the resulting shared library. As static archives are > typically compiled w/out PIC, the result is a broken shared library. Which system is this on? GNU/Linux x86_64? $ grep "^deplibs_check_method" ./libtool is pass_all, right? > How do I keep the behavior in 1) and 2), while changing the behavior for 3) > such > that the static libraries in $LIBS are listed as dependencies in the .la file, > but not linked into the shared library? By fighting a long and hard fight on one of the Libtool lists to kill pass_all on your system: it's wrong there. I'm on your side, BTW. ;-) (And there is a TODO item for this, too.) It was changed to pass_all because of times the previous setting did the wrong thing for many people, or so I think (was before my time). Cheers, Ralf
