aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libtool/patches/100-libdir-fixes.patch
diff options
context:
space:
mode:
authorMichael Pratt <mcpratt@pm.me>2023-03-09 09:35:13 -0500
committerHauke Mehrtens <hauke@hauke-m.de>2023-03-13 22:53:41 +0100
commitefe56a51bcd0b2c2db39c682e88fb166a2431727 (patch)
tree050ca5fc488260a7192dd471bddcf3db8fc4c66c /tools/libtool/patches/100-libdir-fixes.patch
parentc7828a7184d704dafcdfd89b1f59ac2a70090637 (diff)
downloadupstream-efe56a51bcd0b2c2db39c682e88fb166a2431727.tar.gz
upstream-efe56a51bcd0b2c2db39c682e88fb166a2431727.tar.bz2
upstream-efe56a51bcd0b2c2db39c682e88fb166a2431727.zip
tools/libtool: add commit messages to patches
Add commit messages to patches as intended by the last bump to libtool which had to be reverted. This allows for a cleaner diff later, removing this clutter from the complex changes to patches that are required to bump to the latest libtool version. Ref: c377d874b ("libtool: bump to 2.4.6") Signed-off-by: Michael Pratt <mcpratt@pm.me>
Diffstat (limited to 'tools/libtool/patches/100-libdir-fixes.patch')
-rw-r--r--tools/libtool/patches/100-libdir-fixes.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/libtool/patches/100-libdir-fixes.patch b/tools/libtool/patches/100-libdir-fixes.patch
index 3df2b14b60b..75ab5838069 100644
--- a/tools/libtool/patches/100-libdir-fixes.patch
+++ b/tools/libtool/patches/100-libdir-fixes.patch
@@ -1,3 +1,22 @@
+From 67ffe8e8582a7ba1f1d1307a419098e6dd88bdaf Mon Sep 17 00:00:00 2001
+From: Eneas U de Queiroz <cotequeiroz@gmail.com>
+Date: Tue, 20 Jul 2021 16:41:11 -0300
+Subject: openwrt: cross-compilation path adjustments
+
+Comments from the patch:
+
+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
+
+OE sets installed=no in staging. We need to look in $objdir and $absdir,
+preferring $objdir. RP 31/04/2008
+
+This was originally commited to openwrt by Jo-Philipp Wich
+<jow@openwrt.org>.
+
+Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
+
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -5731,8 +5731,14 @@ func_mode_link ()