[ adding bug-libtool ] Hello,
* Bruno Haible wrote on Mon, Oct 04, 2010 at 09:55:26PM CEST: > 1) libposix_la_LDFLAGS += -no-undefined > > This should ensure that on all platforms, the linking of libposix.so will > fail if there are undefined references. Without waiting for a program to > be linked with libposix. That would be nice, but unfortunately that is not the case. Adding -no-undefined is a promise made by the developer that the library does not depend on libraries not listed. However, the developer cannot know or guarantee that she links against (installed) libraries which themselves may depend on undefined references. This is one reason libtool does not use -Wl,-z,defs on GNU/Linux even with -no-undefined. Cheers, Ralf
