Re: LD_LIBRARY_PATH does not supersede /usr/lib for AC_CHECK_LIB ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stephan A Suerken <absurd@xxxxxxxxxx> writes:

> GNU assembler version 2.14.90.0.7 (i386-linux) using BFD version 2.14.90.0.7 20031029 Debian GNU/Linux
>  /usr/lib/gcc-lib/i486-linux/3.3.4/collect2 (...) -L/usr/lib -L/usr/lib -Lmy_local_path/.libs (...)

FWIW, this output origins from reconstructing the macro's test compile
manually. The AC_CHECK_LIB macro called g++ like

g++ -v -o conftest -g -O0 test.c -lx (...)  -L/usr/lib (..) -L/usr/lib (...)

> paths. So, is this a bug in the AC_CHECK_LIB macro, or do I have to

So the question more precisely would be: Why does the check add
-L/usr/lib (twice) to the call? Running the check without that works
just fine.

Still thanks ;),

Stephan

Please CC to me, I am not on the list.
-- 
Stephan A Suerken <suerken|absurd@xxxxxxxxxx>

Schlund + Partner AG, Karlsruhe


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux