summaryrefslogtreecommitdiff
path: root/package/libtool/patches/120-libdir_search.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-12-27 02:11:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-12-27 02:11:03 +0000
commit01dd5fc03aec5e2e0590b469bb17709dcb841861 (patch)
tree5ed367409b643e52c8a3726d18289d76e8886c86 /package/libtool/patches/120-libdir_search.patch
parent4fe3a3e727c5e85815f798d848129f7d4e10a7bb (diff)
downloadmtk-20170518-01dd5fc03aec5e2e0590b469bb17709dcb841861.zip
mtk-20170518-01dd5fc03aec5e2e0590b469bb17709dcb841861.tar.gz
mtk-20170518-01dd5fc03aec5e2e0590b469bb17709dcb841861.tar.bz2
upgrade libtool, add fixes for libdir searching, fix up paths to .la files
SVN-Revision: 9941
Diffstat (limited to 'package/libtool/patches/120-libdir_search.patch')
-rw-r--r--package/libtool/patches/120-libdir_search.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/libtool/patches/120-libdir_search.patch b/package/libtool/patches/120-libdir_search.patch
new file mode 100644
index 0000000..ba2ab83
--- /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"