summaryrefslogtreecommitdiff
path: root/libtool/libtool-1.5/install-path-check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libtool/libtool-1.5/install-path-check.patch')
-rw-r--r--libtool/libtool-1.5/install-path-check.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/libtool/libtool-1.5/install-path-check.patch b/libtool/libtool-1.5/install-path-check.patch
index e69de29bb2..765b4b106f 100644
--- a/libtool/libtool-1.5/install-path-check.patch
+++ b/libtool/libtool-1.5/install-path-check.patch
@@ -0,0 +1,20 @@
+--- libtool-1.5/ltmain.in~ 2004-04-06 23:37:53.000000000 +0100
++++ libtool-1.5/ltmain.in 2004-04-10 13:28:39.000000000 +0100
+@@ -5375,10 +5375,13 @@
+ # At present, this check doesn't affect windows .dll's that
+ # are installed into $libdir/../bin (currently, that works fine)
+ # but it's something to keep an eye on.
+- if test "$inst_prefix_dir" = "$destdir"; then
+- $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
+- exit 1
+- fi
++ #
++ # This breaks install into our staging area. -PB
++ #
++ #if test "$inst_prefix_dir" = "$destdir"; then
++ # $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
++ # exit 1
++ #fi
+
+ if test -n "$inst_prefix_dir"; then
+ # Stick the inst_prefix_dir data into the link command.