[Buildroot] [git commit] Makefile: auto-target automatically pass --program-prefix=""

Peter Korsgaard jacmet at sunsite.dk
Sun Sep 11 22:08:17 UTC 2011


commit: http://git.buildroot.net/buildroot/commit/?id=a8d6e2cc70e1532efea7aba791625a8cb68a10e4
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 at anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 package/Makefile.autotools.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in
index 46ab861..7f04c36 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) \
-- 
1.7.3.4



More information about the buildroot mailing list