mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 18:08:01 +02:00
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:
parent
c99a3df254
commit
39e3866c0a
1 changed files with 7 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue