summaryrefslogtreecommitdiff
path: root/libtool/libtool-1.5/prefix.patch
blob: 066431d4d11036c1fb4dba63a8583a811e16f4a8 (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

#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- libtool-1.5/m4/libtool.m4~prefix
+++ libtool-1.5/m4/libtool.m4
@@ -82,7 +82,8 @@
 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
 
 # Always use our own libtool.
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+LIBTOOL='$(SHELL) $(top_builddir)'
+LIBTOOL="$LIBTOOL/$host_alias-libtool"
 AC_SUBST(LIBTOOL)dnl
 
 # Prevent multiple expansion
@@ -149,7 +150,7 @@
 rm="rm -f"
 
 # Global variables:
-default_ofile=libtool
+default_ofile=${host_alias}-libtool
 can_build_shared=yes
 
 # All known linkers require a `.a' archive for static linking (except M$VC,