Skip to content
Snippets Groups Projects
Commit 214a40b6 authored by Jenkins2's avatar Jenkins2 Committed by Gerrit Code Review
Browse files

Merge "res_corosync: Fix linking issue with Corosync 2.x"

parents 206b66db f4798faa
No related branches found
No related tags found
No related merge requests found
......@@ -31953,7 +31953,7 @@ if eval \${$as_ac_Lib+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lcpg ${pbxlibdir} -lcpg $LIBS"
LIBS="-lcpg ${pbxlibdir} -lcpg -lcfg $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
 
......@@ -31995,7 +31995,7 @@ fi
 
# now check for the header.
if test "${AST_COROSYNC_FOUND}" = "yes"; then
COROSYNC_LIB="${pbxlibdir} -lcpg -lcpg"
COROSYNC_LIB="${pbxlibdir} -lcpg -lcpg -lcfg"
# if --with-COROSYNC=DIR has been specified, use it.
if test "x${COROSYNC_DIR}" != "x"; then
COROSYNC_INCLUDE="-I${COROSYNC_DIR}/include"
......
......@@ -2425,7 +2425,7 @@ fi
AST_EXT_LIB_CHECK([CODEC2], [codec2], [codec2_create], [codec2/codec2.h])
AST_EXT_LIB_CHECK([COROSYNC], [cpg], [cpg_join], [corosync/cpg.h], [-lcpg])
AST_EXT_LIB_CHECK([COROSYNC], [cpg], [cpg_join], [corosync/cpg.h], [-lcpg -lcfg])
AST_EXT_LIB_CHECK([COROSYNC_CFG_STATE_TRACK], [cfg], [corosync_cfg_state_track], [corosync/cfg.h], [-lcfg])
AST_EXT_LIB_CHECK([SPEEX], [speex], [speex_encode], [speex/speex.h], [-lm])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment