summaryrefslogtreecommitdiff
path: root/packages/libtool/libtool-1.5/install-path-check.patch
blob: 765b4b106f693eb9dfd551c94d6f7fae410baa02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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.