What happened to libtool transitive DSOs?

John Calcote <[email protected]>
Newsgroups gmane.comp.gnu.libtool.general
Message-ID <CA+LTicsYWhzu+SZJ7xqdswu6535ixwhQB14+SESvs4de1np1uw@mail.gmail.com>
One of the coolest features (I thought) of libtool was it's ability to
allow specification of only the .la files directly required by a library or
program when linking.

I had code that used libtool 2.2 a while back that worked fine this way. A
program P required library A.la, which itself required library B.la. I only
had to add A.la to the LDADD variable in my Makefile.am file.

After upgrading to libtool 2.4.2, I find that I now have to specify the
additional secondary .la files that are listed in the primary .la files'
dependency_libs property, or I get a link error indicating missing DSOs on
the command line (and I can see that libtool is not adding the transitive
dependencies like it used to. Why was this change made?

(Or is there something about the entire process I just don't understand?)

Thanks in advance!
John

_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.