summaryrefslogtreecommitdiff
path: root/package/Makefile.autotools.in
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@anciens.enib.fr>2011-08-10 00:12:34 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-09-12 00:08:13 +0200
commita8d6e2cc70e1532efea7aba791625a8cb68a10e4 (patch)
tree4263edde2e6ec2e831442eaac6418bbbb652ed17 /package/Makefile.autotools.in
parentdba4b184318450435e3c5efd0b1955edbece8feb (diff)
Makefile: auto-target automatically pass --program-prefix=""
When cross-compiled, some packages incorrectly prefix their executables with the target tuple. Fix that by forcing the program prefix to the empty string when calling ./configure, but only when compiling for target, not for host. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/Makefile.autotools.in')
-rw-r--r--package/Makefile.autotools.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in
index 46ab861c1..7f04c3692 100644
--- a/package/Makefile.autotools.in
+++ b/package/Makefile.autotools.in
@@ -100,6 +100,7 @@ define $(2)_CONFIGURE_CMDS
--prefix=/usr \
--exec-prefix=/usr \
--sysconfdir=/etc \
+ --program-prefix="" \
$$(DISABLE_DOCUMENTATION) \
$$(DISABLE_NLS) \
$$(DISABLE_LARGEFILE) \