build: fix dynamic boost check when --with-boost= is used
This commit is contained in:
parent
023690c0f2
commit
a7d1f035ae
@ -521,7 +521,7 @@ if test x$use_tests = xyes; then
|
|||||||
dnl Determine if -DBOOST_TEST_DYN_LINK is needed
|
dnl Determine if -DBOOST_TEST_DYN_LINK is needed
|
||||||
AC_MSG_CHECKING([for dynamic linked boost test])
|
AC_MSG_CHECKING([for dynamic linked boost test])
|
||||||
TEMP_LIBS="$LIBS"
|
TEMP_LIBS="$LIBS"
|
||||||
LIBS="$LIBS $BOOST_UNIT_TEST_FRAMEWORK_LIB"
|
LIBS="$LIBS $BOOST_LDFLAGS $BOOST_UNIT_TEST_FRAMEWORK_LIB"
|
||||||
TEMP_CPPFLAGS="$CPPFLAGS"
|
TEMP_CPPFLAGS="$CPPFLAGS"
|
||||||
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
|
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
|
||||||
AC_LINK_IFELSE([AC_LANG_SOURCE([
|
AC_LINK_IFELSE([AC_LANG_SOURCE([
|
||||||
|
Loading…
Reference in New Issue
Block a user