[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dependency_libs issue
From: |
Albert Chin |
Subject: |
Re: dependency_libs issue |
Date: |
Mon, 20 Oct 2003 05:34:34 -0500 |
User-agent: |
Mutt/1.4i |
On Mon, Sep 08, 2003 at 04:38:40PM +1000, Clinton Roy wrote:
> I've got code in configure.ac that eventually sets LIBS to:
> LIBS = -lgdbm -L/dstc/lib -lxml2 -lz -lpthread -lm -ldb
>
> However, ltmain.sh produces a .la file with:
>
> dependency_libs=' /usr/lib/libgdbm.la -L/dstc/lib /usr/lib/libxml2.la -lz
> -lpthread -lm -ldb'
>
> How did that /usr/lib/libxml2.la get in there?
Does this fix it (should apply to 1.5)?
--
albert chin (address@hidden)
-- snip snip
Index: ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/ltmain.in,v
retrieving revision 1.334.2.7
diff -u -3 -p -r1.334.2.7 ltmain.in
--- ltmain.in 31 Jul 2003 20:46:40 -0000 1.334.2.7
+++ ltmain.in 20 Oct 2003 10:31:08 -0000
@@ -2626,7 +2629,7 @@ EOF
done
fi
if test "$pass" != dlopen; then
- if test "$pass" != conv; then
+ if test "$pass" != conv && test -n "$newlib_search_path" ; then
# Make sure lib_search_path contains only unique directories.
lib_search_path=
for dir in $newlib_search_path; do
- Re: dependency_libs issue,
Albert Chin <=