[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Fwd: Re: build issues (ITS#2306)



Kurt D. Zeilenga wrote:
> I note that 2.1.12 uses the current "stable" release of
> libtool, version 1.4.3.

Yes, that version seems to be broken. Debian ships a patched version
that works correctly. The following patch to ltmain.sh fixes it:

--- build/ltmain.sh     (revision 1)
+++ build/ltmain.sh     (working copy)
@@ -1909,6 +1909,7 @@
            else
              # We cannot seem to hardcode it, guess we'll fake it.
              add_dir="-L$libdir"
+             test -d "$ladir/.libs" && add_dir="-L$ladir/.libs $add_dir"
              add="-l$name"
            fi

Roland

-- 
Roland Bauerschmidt