It seems the tests also depend on the pango library...

...so add the test and LIBS flag for autotools.
This commit is contained in:
Mark de Wever 2008-07-12 10:43:40 +00:00
parent faf5d20d7e
commit fd76527912
2 changed files with 2 additions and 2 deletions

View File

@ -938,7 +938,7 @@ AM_CONDITIONAL([BOOST_TEST_DYN_LINK], [test x"$boost_test_dyn_link" = xyes])
# Pango support #
#######################################################################
if test "x$game" = "xyes"; then
if test "x$game" = "xyes" || test "x$tests" = "xyes"; then
PKG_CHECK_MODULES(PANGO, pangocairo >= 1.14.8)
CPPFLAGS="$CPPFLAGS $PANGO_CFLAGS"

View File

@ -266,7 +266,7 @@ test_SOURCES = \
tests/test_save_dialog.cpp \
$(wesnoth_source)
test_LDADD = $(INTERNALLIBS) $(THELIBS) $(BOOST_UNIT_TEST_FRAMEWORK_LIBS)
test_LDADD = $(INTERNALLIBS) $(THELIBS) $(BOOST_UNIT_TEST_FRAMEWORK_LIBS) $(PANGO_LIBS)
test_DEPENDENCIES=libwesnoth-core.a libwesnoth.a
#############################################################################