mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 15:29:05 +00:00
Merge "CI: Use bundled jansson if needed." into 13
This commit is contained in:
@@ -73,9 +73,11 @@ runner ccache -s
|
|||||||
runner ulimit -a
|
runner ulimit -a
|
||||||
|
|
||||||
MAKE=`which make`
|
MAKE=`which make`
|
||||||
|
PKGCONFIG=`which pkg-config`
|
||||||
[ -d /usr/lib64 ] && _libdir=/usr/lib64
|
[ -d /usr/lib64 ] && _libdir=/usr/lib64
|
||||||
|
|
||||||
common_config_args="--prefix=/usr ${_libdir:+--libdir=${_libdir}} --sysconfdir=/etc --with-pjproject-bundled"
|
common_config_args="--prefix=/usr ${_libdir:+--libdir=${_libdir}} --sysconfdir=/etc --with-pjproject-bundled"
|
||||||
|
$PKGCONFIG 'jansson' || common_config_args+=" --with-jansson-bundled"
|
||||||
common_config_args+=" ${CACHE_DIR:+--with-sounds-cache=${CACHE_DIR}/sounds --with-externals-cache=${CACHE_DIR}/externals}"
|
common_config_args+=" ${CACHE_DIR:+--with-sounds-cache=${CACHE_DIR}/sounds --with-externals-cache=${CACHE_DIR}/externals}"
|
||||||
common_config_args+=" --enable-dev-mode"
|
common_config_args+=" --enable-dev-mode"
|
||||||
if [ $COVERAGE -eq 1 ] ; then
|
if [ $COVERAGE -eq 1 ] ; then
|
||||||
|
|||||||
Reference in New Issue
Block a user