mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-19 19:20:35 +00:00
build : Fix cross-compilation errors
Bundled pjproject and jansson must be configured with the host and build parameters provided to the configure script. Autotools do not permit to check for the existence of local header files, so the control of hrirs.h must not be done when cross-compiling. ASTERISK-28250 Change-Id: If0a76e52a87d4ab82b7d4c72d27d8759ca931880
This commit is contained in:
committed by
Jean Aunis - Prescom
parent
6640ecfd39
commit
d3a6714158
@@ -2811,7 +2811,10 @@ else
|
||||
fi
|
||||
|
||||
# conf_bridge (binaural rendering): check if HRIRs are available
|
||||
AC_CHECK_FILES([bridges/bridge_softmix/include/hrirs.h])
|
||||
# this check does not work when cross-compiling
|
||||
if test "${cross_compiling}" = "no"; then
|
||||
AC_CHECK_FILES([bridges/bridge_softmix/include/hrirs.h])
|
||||
fi
|
||||
|
||||
AC_CONFIG_FILES([build_tools/menuselect-deps makeopts])
|
||||
AST_CHECK_MANDATORY
|
||||
|
Reference in New Issue
Block a user