John Burrell wrote:
+++ autogen-5.14/doc/mk-agen-texi-in 2012-01-17 17:05:34.419229466 -0600
@@ -120,9 +120,9 @@
srcdir=`cd @srcdir@ ; pwd`
PATH=${top_builddir}/columns:${PATH}
timer=`expr @AG_TIMEOUT@ '*' 5`
- d=`find ${top_builddir}/autoopts -type f -name libopts.a -print`
- test -f "$d" || die "Cannot locate libopts.a"
- LIBS="$d ${LIBS}"
+ d=`find ${top_builddir}/autoopts -type f -name libopts.a -o -name
libopts.so | head -n 1`
+ LIBS="-L`dirname \"$d\"` -lopts ${LIBS}"
+ LD_LIBRARY_PATH="`dirname \"$d\"`:$LD_LIBRARY_PATH"
You know that LD_LIBRARY_PATH is only for execution (as in /usr/bin/ld),
and not for gcc -L paths, right?
For gcc, you need the LIBRARY_PATH environment variable.
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page