Fix linking of libdbus-testutils.la with Automake targeting Windows

This regressed in commit 9875480ed - libdbus-testutils.la needs static
linking too.
This commit is contained in:
Simon McVittie 2011-08-05 13:14:54 +01:00
parent c99a3df254
commit 39e3866c0a

View file

@ -13,6 +13,13 @@ AM_CPPFLAGS = \
# improve backtraces from test stuff
AM_LDFLAGS = @R_DYNAMIC_LDFLAG@
static_cppflags = \
$(AM_CPPFLAGS) \
-DDBUS_STATIC_BUILD \
$(NULL)
libdbus_testutils_la_CPPFLAGS = \
$(static_cppflags)
libdbus_testutils_la_SOURCES = \
test-utils.c \
test-utils.h \
@ -65,11 +72,6 @@ endif !DBUS_BUILD_TESTS
noinst_PROGRAMS= $(TEST_BINARIES)
static_cppflags = \
$(AM_CPPFLAGS) \
-DDBUS_STATIC_BUILD \
$(NULL)
test_service_CPPFLAGS = $(static_cppflags)
test_service_LDADD = libdbus-testutils.la
test_names_CPPFLAGS = $(static_cppflags)