From a8d6e2cc70e1532efea7aba791625a8cb68a10e4 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Wed, 10 Aug 2011 00:12:34 +0200 Subject: [PATCH] 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" Signed-off-by: Peter Korsgaard --- package/Makefile.autotools.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in index 46ab861c13..7f04c3692b 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) \ -- 2.30.2