GNOME Bugzilla – Bug 727939
INTLLIBS are always appended in configure checks
Last modified: 2014-04-15 13:12:36 UTC
Hi. After this commit went in: 2b178c762fbc0706031e9890ba190233e243a602 I was wondering why -z,nodelete was not enabled up by configure on OpenBSD. It turns out INTLLIBS is appended to the configure test: configure:28871: cc -o conftest -O2 -pipe -I/usr/local/include -pthread -Wl,-z,nodelete conftest.c -lintl >&5 /usr/bin/ld: cannot find -lintl It cannot find libintl, because I run configure with LDFLAGS="-L/usr/local/lib" which is where libintl is installed and LDFLAGS gets dropped during this particular configure check (same with the -Bsymbolic check), which is expected. But -lintl still gets appended which as seen above makes the check fails.
Created attachment 273964 [details] [review] also unset LIBS when we unset LDFLAGS This patch does the trick for me. Dunno if it is the best^recommended way.
Review of attachment 273964 [details] [review]: Makes sense -- we won't need any LIBS in order to check -Bsymbolic.
Thank you Ryan. Pushed as 2d96503.