summaryrefslogtreecommitdiffstats
path: root/meta/packages/libtool/libtool-1.5.10/prefix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/libtool/libtool-1.5.10/prefix.patch')
-rw-r--r--meta/packages/libtool/libtool-1.5.10/prefix.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta/packages/libtool/libtool-1.5.10/prefix.patch b/meta/packages/libtool/libtool-1.5.10/prefix.patch
new file mode 100644
index 0000000000..fa30d02f26
--- /dev/null
+++ b/meta/packages/libtool/libtool-1.5.10/prefix.patch
@@ -0,0 +1,40 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6--- libtool-1.5.6/libtool.m4~prefix.patch 2004-05-14 23:02:28.000000000 -0500
7+++ libtool-1.5.6/libtool.m4 2004-05-14 23:02:34.000000000 -0500
8@@ -82,7 +82,8 @@
9 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
10
11 # Always use our own libtool.
12-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
13+LIBTOOL='$(SHELL) $(top_builddir)'
14+LIBTOOL="$LIBTOOL/$host_alias-libtool"
15 AC_SUBST(LIBTOOL)dnl
16
17 # Prevent multiple expansion
18@@ -149,7 +150,7 @@
19 rm="rm -f"
20
21 # Global variables:
22-default_ofile=libtool
23+default_ofile=${host_alias}-libtool
24 can_build_shared=yes
25
26 # All known linkers require a `.a' archive for static linking (except M$VC,
27--- libtool-1.5.6/Makefile.am~prefix.patch 2004-04-11 00:07:06.000000000 -0500
28+++ libtool-1.5.6/Makefile.am 2004-05-14 23:02:46.000000000 -0500
29@@ -30,9 +30,9 @@
30 aclocal_DATA = $(aclocal_macros)
31
32 # The standalone libtool script, and the libtool distributor.
33-bin_SCRIPTS = libtool libtoolize
34+bin_SCRIPTS = $(host_alias)-libtool libtoolize
35
36-libtool: $(srcdir)/ltmain.sh $(top_builddir)/configure.ac
37+$(host_alias)-libtool: $(srcdir)/ltmain.sh $(top_builddir)/configure.ac
38 $(SHELL) $(top_builddir)/config.status --recheck
39 chmod +x $@
40