From c8b1ee477f04a2c2ce175b32682a415d9ce69425 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 27 Dec 2007 02:11:03 +0000 Subject: upgrade libtool, add fixes for libdir searching, fix up paths to .la files git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9941 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/libtool/patches/120-libdir_search.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 package/libtool/patches/120-libdir_search.patch (limited to 'package/libtool/patches/120-libdir_search.patch') diff --git a/package/libtool/patches/120-libdir_search.patch b/package/libtool/patches/120-libdir_search.patch new file mode 100644 index 000000000..ba2ab835e --- /dev/null +++ b/package/libtool/patches/120-libdir_search.patch @@ -0,0 +1,19 @@ +--- libtool-1.5.6/ltmain.in~libdir-la 2004-04-01 21:46:15.000000000 -0600 ++++ libtool-1.5.6/ltmain.in 2004-05-14 22:53:51.000000000 -0500 +@@ -2147,8 +2147,14 @@ + absdir="$abs_ladir" + libdir="$abs_ladir" + else +- dir="$libdir" +- absdir="$libdir" ++ # Adding 'libdir' from the .la file to our library search paths ++ # breaks crosscompilation horribly. We cheat here and don't add ++ # it, instead adding the path where we found the .la. -CL ++ dir="$abs_ladir" ++ absdir="$abs_ladir" ++ libdir="$abs_ladir" ++ #dir="$libdir" ++ #absdir="$libdir" + fi + else + dir="$ladir/$objdir" -- cgit v1.2.3