Follow-up Comment #22, sr #108201 (project libtool): I had a look in the code and it is only for Solaris that old_archive_cmds and archive_cmds are rigged to include $LDFLAGS. This is clearly a buggy thing to do and it explains why -no-undefined is passed down to gcc for you.
However, I have little Solaris expertise and will therefore leave the resolution of the issue to someone more capable. All in all, it's the Solaris part/port of libtool that is buggy, and -no-undefined should stay in LDFLAGS in all those test cases. Cheers, Peter _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/support/?108201> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ https://lists.gnu.org/mailman/listinfo/libtool