When libtool is used to build a library libfoo that depends on another
libtool library (libbar), it takes the dependencies in the libbar.la
file and explicitly links with them, i.e. :
./libtool --mode=link gcc -g -O2 [blah blah] -lbar
gives
gcc -shared -g -O2 [blah blah blah] -lbar -lsomething -lX11 ...
where libsomething, libX11... are dependencies for libbar, and libbar
already links with them.

Is it possible to prevent that behaviour ? I'd like to only link
explicitly with libbar. The documentation mentions link_all_deplibs=no,
but it doesn't seem to do that.

Regards,
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           [EMAIL PROTECTED]
`. `'                        [EMAIL PROTECTED]
  `-  Debian GNU/Linux -- The power of freedom

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to