Commit 9bbcb771 authored by Tiago Peixoto's avatar Tiago Peixoto

Forward boost LD_FLAGS

This fixes #554 and #555
parent 8ffeeb12
......@@ -175,7 +175,7 @@ if test "$BOOST_THREAD_LIB" = ""; then
AC_MSG_ERROR([No usable boost::thread found])
fi
[BOOST_LIBS="${BOOST_IOSTREAMS_LIB} -l${BOOST_PYTHON_LIB} ${BOOST_REGEX_LIB} ${BOOST_CONTEXT_LIB} ${BOOST_COROUTINE_LIB}"]
[BOOST_LIBS="${BOOST_LDFLAGS} ${BOOST_IOSTREAMS_LIB} -l${BOOST_PYTHON_LIB} ${BOOST_REGEX_LIB} ${BOOST_CONTEXT_LIB} ${BOOST_COROUTINE_LIB}"]
dnl GNU MP library (needed by CGAL)
AC_CHECK_LIB(gmp, __gmpz_init, ,
......
......@@ -65,7 +65,7 @@ for ac_cgal_iterate in $ac_cgal_dirs ; do
CGAL_LDFLAGS="-L$ac_cgal_iterate/lib -lCGAL -lCGAL_Core -lgmp ${BOOST_THREAD_LIB}"
fi
LDFLAGS_SAVED="$LDFLAGS"
LDFLAGS="$LDFLAGS $CGAL_LDFLAGS"
LDFLAGS="$LDFLAGS $BOOST_LDFLAGS $CGAL_LDFLAGS"
export LDFLAGS
AC_MSG_CHECKING([whether CGAL is available in $ac_cgal_iterate])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment