aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-10-11 10:48:20 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-10-11 10:48:35 +0200
commitf98bd4eae1bc6d57c27cc13d0495941f15eddf19 (patch)
treee007e74473c21106e4cae8564e7f2f9982cd1b3f
parent023690c0f24a06853bb860db032a1ff67978ee74 (diff)
parentd5fd094569e74595af18d42d2aa06738304b715b (diff)
Merge pull request #5073
d5fd094 build: fix qt test build when libprotobuf is in a non-standard path (Cory Fields) a7d1f03 build: fix dynamic boost check when --with-boost= is used (Cory Fields)
-rw-r--r--configure.ac2
-rw-r--r--src/Makefile.qttest.include2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 87c7833bce..90aa112421 100644
--- a/configure.ac
+++ b/configure.ac
@@ -521,7 +521,7 @@ if test x$use_tests = xyes; then
dnl Determine if -DBOOST_TEST_DYN_LINK is needed
AC_MSG_CHECKING([for dynamic linked boost test])
TEMP_LIBS="$LIBS"
- LIBS="$LIBS $BOOST_UNIT_TEST_FRAMEWORK_LIB"
+ LIBS="$LIBS $BOOST_LDFLAGS $BOOST_UNIT_TEST_FRAMEWORK_LIB"
TEMP_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
AC_LINK_IFELSE([AC_LANG_SOURCE([
diff --git a/src/Makefile.qttest.include b/src/Makefile.qttest.include
index 2cba5b7e1e..23375bef82 100644
--- a/src/Makefile.qttest.include
+++ b/src/Makefile.qttest.include
@@ -13,7 +13,7 @@ TEST_QT_H = \
qt/test/paymentservertests.h
qt_test_test_bitcoin_qt_CPPFLAGS = $(BITCOIN_INCLUDES) $(BITCOIN_QT_INCLUDES) \
- $(QT_INCLUDES) $(QT_TEST_INCLUDES)
+ $(QT_INCLUDES) $(QT_TEST_INCLUDES) $(PROTOBUF_CFLAGS)
qt_test_test_bitcoin_qt_SOURCES = \
qt/test/test_main.cpp \