Fixed boost.test configuration not to mess with other targets
This commit is contained in:
parent
febda96e03
commit
7590703aa9
2 changed files with 5 additions and 8 deletions
|
@ -905,9 +905,6 @@ if test "x$tests" = "xyes"; then
|
|||
# BOOST_UNIT_TEST_FRAMEWORK_LDFLAGS="-L/usr/lib -R/usr/lib"
|
||||
fi
|
||||
|
||||
LDFLAGS="$BOOST_UNIT_TEST_FRAMEWORK_LDFLAGS $LDFLAGS"
|
||||
LIBS="$BOOST_UNIT_TEST_FRAMEWORK_LIBS $LIBS"
|
||||
|
||||
AC_LANG([C++])
|
||||
AC_MSG_CHECKING([for dynamic linked boost test])
|
||||
|
||||
|
|
|
@ -112,8 +112,8 @@ wesnoth_source = \
|
|||
#############################################################################
|
||||
|
||||
wesnoth_SOURCES = \
|
||||
$(wesnoth_source) \
|
||||
game.cpp
|
||||
game.cpp \
|
||||
$(wesnoth_source)
|
||||
|
||||
wesnoth_LDADD = $(THELIBS) libwesnoth.a
|
||||
wesnoth_DEPENDENCIES=libwesnoth-core.a libwesnoth.a
|
||||
|
@ -202,11 +202,11 @@ cutter_DEPENDENCIES=libwesnoth-core.a
|
|||
#############################################################################
|
||||
|
||||
test_SOURCES = \
|
||||
$(wesnoth_source) \
|
||||
tests/main.cpp \
|
||||
tests/test_util.cpp
|
||||
tests/test_util.cpp \
|
||||
$(wesnoth_source)
|
||||
|
||||
test_LDADD = -lboost_unit_test_framework $(THELIBS) libwesnoth.a
|
||||
test_LDADD = $(THELIBS) $(BOOST_UNIT_TEST_FRAMEWORK_LIBS) libwesnoth.a
|
||||
test_DEPENDENCIES=libwesnoth-core.a libwesnoth.a
|
||||
|
||||
#############################################################################
|
||||
|
|
Loading…
Add table
Reference in a new issue