aboutsummaryrefslogtreecommitdiffstats
path: root/package/libtool/patches/100-libdir_path.patch
blob: 8ce01e71aa25c322f992b8ed204a0340e52d3be1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Index: libtool-1.5.24/Makefile.in
===================================================================
--- libtool-1.5.24.orig/Makefile.in	2007-12-28 17:45:43.195523115 +0100
+++ libtool-1.5.24/Makefile.in	2007-12-28 17:45:58.032368617 +0100
@@ -789,6 +789,7 @@
 	-rm -f ltmain.shT
 	date=`$(SHELL) $(srcdir)/mkstamp < $(srcdir)/ChangeLog` && \
 	sed -e 's/@''PACKAGE@/@PACKAGE@/' -e 's/@''VERSION@/@VERSION@/' \
+		-e 's#@''GLOBAL_LIBDIR@#$(GLOBAL_LIBDIR)#' \
 	    -e "s%@""TIMESTAMP@%$$date%" $(srcdir)/ltmain.in > ltmain.shT
 	mv -f ltmain.shT $@ || \
 	(rm -f $@ && cp ltmain.shT $@ && rm -f ltmain.shT)
Index: libtool-1.5.24/ltmain.in
===================================================================
--- libtool-1.5.24.orig/ltmain.in	2007-12-28 17:45:43.203523567 +0100
+++ libtool-1.5.24/ltmain.in	2007-12-28 17:45:58.036368842 +0100
@@ -5669,7 +5669,7 @@
 		  $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
 		  exit $EXIT_FAILURE
 		fi
-		newdependency_libs="$newdependency_libs $libdir/$name"
+		newdependency_libs="$newdependency_libs @GLOBAL_LIBDIR@/$name"
 		;;
 	      *) newdependency_libs="$newdependency_libs $deplib" ;;
 	      esac
@@ -5694,7 +5694,7 @@
 		$echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
 		exit $EXIT_FAILURE
 	      fi
-	      newdlprefiles="$newdlprefiles $libdir/$name"
+	      newdlprefiles="$newdlprefiles @GLOBAL_LIBDIR@/$name"
 	    done
 	    dlprefiles="$newdlprefiles"
 	  else
Index: libtool-1.5.24/Makefile.am
===================================================================
--- libtool-1.5.24.orig/Makefile.am	2007-12-28 17:46:04.428733124 +0100
+++ libtool-1.5.24/Makefile.am	2007-12-28 17:46:38.494674431 +0100
@@ -67,6 +67,7 @@
 	-rm -f ltmain.shT
 	date=`$(SHELL) $(srcdir)/mkstamp < $(srcdir)/ChangeLog` && \
 	sed -e 's/@''PACKAGE@/@PACKAGE@/' -e 's/@''VERSION@/@VERSION@/' \
+		-e 's#@''GLOBAL_LIBDIR@#$(GLOBAL_LIBDIR)#' \
 	    -e "s%@""TIMESTAMP@%$$date%" $(srcdir)/ltmain.in > ltmain.shT
 	mv -f ltmain.shT $@ || \
 	(rm -f $@ && cp ltmain.shT $@ && rm -f ltmain.shT)