summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-04-22 09:03:47 +0200
committerMichał Górny <mgorny@gentoo.org>2017-04-22 09:27:26 +0200
commitec76f6e000bdfdc91f4b5da7fa05c57a39cc3f27 (patch)
tree7b8acd30aa609405c4e36db42dea68bc9a95bac1 /patches/hardcode/1.3d
parentMove patches from ::gentoo (diff)
downloadelt-patches-ec76f6e000bdfdc91f4b5da7fa05c57a39cc3f27.tar.gz
elt-patches-ec76f6e000bdfdc91f4b5da7fa05c57a39cc3f27.tar.bz2
elt-patches-ec76f6e000bdfdc91f4b5da7fa05c57a39cc3f27.zip
Add application script, and a Makefile20170422
Diffstat (limited to 'patches/hardcode/1.3d')
-rw-r--r--patches/hardcode/1.3d21
1 files changed, 21 insertions, 0 deletions
diff --git a/patches/hardcode/1.3d b/patches/hardcode/1.3d
new file mode 100644
index 0000000..7408b37
--- /dev/null
+++ b/patches/hardcode/1.3d
@@ -0,0 +1,21 @@
+http://lists.gnu.org/archive/html/bug-libtool/2008-03/msg00124.html
+
+but this patch disables hardcoding independent of inst_prefix_dir at all,
+for both hardcode_direct=yes and hardcode_minus_L=yes.
+
+If you update this patch, please also update libtool/files/libtool-1.3d-hardcode.patch
+
+--- ltmain.in.orig 2008-04-16 15:54:04.000000000 +0200
++++ ltmain.in 2008-04-16 16:21:04.000000000 +0200
+@@ -1900,9 +1900,9 @@
+ add_dir=
+ add=
+ # Finalize command for both is simple: just hardcode it.
+- if test "$hardcode_direct" = yes; then
++ if false && test "$hardcode_direct" = yes; then
+ add="$libdir/$linklib"
+- elif test "$hardcode_minus_L" = yes; then
++ elif false && test "$hardcode_minus_L" = yes; then
+ add_dir="-L$libdir"
+ add="-l$name"
+ elif test "$hardcode_shlibpath_var" = yes; then