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>
This commit is contained in:
Yann E. MORIN 2011-08-10 00:12:34 +02:00 committed by Peter Korsgaard
parent dba4b18431
commit a8d6e2cc70
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ define $(2)_CONFIGURE_CMDS
--prefix=/usr \
--exec-prefix=/usr \
--sysconfdir=/etc \
--program-prefix="" \
$$(DISABLE_DOCUMENTATION) \
$$(DISABLE_NLS) \
$$(DISABLE_LARGEFILE) \