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:
parent
dba4b18431
commit
a8d6e2cc70
@ -100,6 +100,7 @@ define $(2)_CONFIGURE_CMDS
|
||||
--prefix=/usr \
|
||||
--exec-prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--program-prefix="" \
|
||||
$$(DISABLE_DOCUMENTATION) \
|
||||
$$(DISABLE_NLS) \
|
||||
$$(DISABLE_LARGEFILE) \
|
||||
|
Loading…
Reference in New Issue
Block a user