mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-01 15:37:44 +00:00
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 \
|
--prefix=/usr \
|
||||||
--exec-prefix=/usr \
|
--exec-prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
|
--program-prefix="" \
|
||||||
$$(DISABLE_DOCUMENTATION) \
|
$$(DISABLE_DOCUMENTATION) \
|
||||||
$$(DISABLE_NLS) \
|
$$(DISABLE_NLS) \
|
||||||
$$(DISABLE_LARGEFILE) \
|
$$(DISABLE_LARGEFILE) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user