"Boehne, Robert" <[EMAIL PROTECTED]> writes: > This is a known problem that results from supporting multiple > dependent archive libraries. In some cases libtool can't strip the > redundant -lfoo -lbar in dependencies. I would propose that libtool > would strip all duplicate dependencies (as it used to do) unless a > command line flag is given. I did pose this question a few weeks > ago but didn't get any response. Time permitting, I'll post a patch > that would require the KDE developers (and others in this situation) > to add a flag that preserves all of the dependencies when linking. > In my project, compile times go from 6 hours to infinity. ;) So > I've made my own ltmain.sh that won't preserve any duplicate > dependencies. As soon as I can find the time I'll work this into a > patch. In the mean time, anyone care to suggest what the flag > should be? --preserve-dup-deps ???
As another data point. I we installed your ltmain.sh in gnucash and link times on a 1Ghz athlon went from two hours to ten minutes, and everything still seems to work OK. Thanks. -- Rob Browning rlb @defaultvalue.org, @linuxdevel.com, and @debian.org Previously @cs.utexas.edu GPG=1C58 8B2C FB5E 3F64 EA5C 64AE 78FE E5FE F0CB A0AD _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool