mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-16 18:31:32 +00:00
It seems the tests also depend on the pango library...
...so add the test and LIBS flag for autotools.
This commit is contained in:
parent
faf5d20d7e
commit
fd76527912
@ -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"
|
||||
|
@ -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
|
||||
|
||||
#############################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user