aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libtool/patches/120-strip-unsafe-dirs-for-relinking.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/120-strip-unsafe-dirs-for-relinking.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/120-strip-unsafe-dirs-for-relinking.patch')
-rw-r--r--tools/libtool/patches/120-strip-unsafe-dirs-for-relinking.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/libtool/patches/120-strip-unsafe-dirs-for-relinking.patch b/tools/libtool/patches/120-strip-unsafe-dirs-for-relinking.patch
index d5729e68ac..575b5fd24b 100644
--- a/tools/libtool/patches/120-strip-unsafe-dirs-for-relinking.patch
+++ b/tools/libtool/patches/120-strip-unsafe-dirs-for-relinking.patch
@@ -1,3 +1,16 @@
+From 7f2b8a1ab4fa1475eeeddfb84eb5b92594bfce43 Mon Sep 17 00:00:00 2001
+From: Eneas U de Queiroz <cotequeiroz@gmail.com>
+Date: Tue, 20 Jul 2021 16:54:12 -0300
+Subject: openwrt: strip unsave directories from relink command
+
+strip unsave directories from relink command, nuke every -L that looks
+like /usr/lib or /lib
+
+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
@@ -2186,6 +2186,9 @@ func_mode_install ()