On 2013-09-16 10:05 AM, Daniel Pocock wrote:
I looked through the package and I found that there was a utility
library in there that didn't have the same AM_LDFLAGS definition as all
the other components
The problem was only appearing much later in the build unfortunately,
when building the test binary, but it is fixed now.
Can anything be done to make this type of thing easier to diagnose?
If the "utility library" is linked into a shared object,
-Wl,-z,defs,--as-needed may help. If it only exists in .a and/or .la
format (no .so) then unfortunately I don't think there's anything that
can be done without a good deal of work. 'ar' doesn't have any
equivalent of -z defs, and 'ld' has no "just check for unresolved
externals, don't create any output" mode.
zw
_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
https://lists.gnu.org/mailman/listinfo/autoconf