summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2015-02-20 16:14:08 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2015-02-20 20:50:04 +0000
commitc35d7d1eb773c27018ec4e326bfac0b973e743c0 (patch)
treefde2d3fab110cd15d399808a8bc1272f947a1b47 /test
parent57696a2e8a5eb2df3177f5b52c512a14f3cab1f5 (diff)
downloaddbus-c35d7d1eb773c27018ec4e326bfac0b973e743c0.tar.gz
Fix static linking with mingw
Now that we're normally linking libdbus-1 dynamically, we need to use DBUS_STATIC_BUILD_CPPFLAGS in every Makefile that would normally link it dynamically, but might link it statically if we are only building static libraries. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=83115 Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am1
-rw-r--r--test/name-test/Makefile.am1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 723d7767..54bcd868 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -6,6 +6,7 @@ DIST_SUBDIRS=name-test
AM_CPPFLAGS = \
-I$(top_srcdir) \
+ $(DBUS_STATIC_BUILD_CPPFLAGS) \
-DDBUS_COMPILATION \
$(GLIB_CFLAGS) \
$(NULL)
diff --git a/test/name-test/Makefile.am b/test/name-test/Makefile.am
index b28a7e86..c6611aa3 100644
--- a/test/name-test/Makefile.am
+++ b/test/name-test/Makefile.am
@@ -1,5 +1,6 @@
AM_CPPFLAGS = \
-I$(top_srcdir) \
+ $(DBUS_STATIC_BUILD_CPPFLAGS) \
-DDBUS_COMPILATION \
$(NULL)