summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2015-02-05 12:47:32 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2015-02-05 14:14:17 +0000
commit3f762bef246c6c6b8839db2ae6e07bb7b141c186 (patch)
treeff9bde371f77cac4adc786edf61b90b94fb5e1e5 /test
parent7ae9b3c9741116fbf2e6d13e40410836e076a644 (diff)
downloaddbus-3f762bef246c6c6b8839db2ae6e07bb7b141c186.tar.gz
tests: make sure to specify CPPFLAGS where needed
test-marshal and test-syntax need the $(testutils_shared_if_possible_cppflags), so that they will get the $(static_cflags) when we are not linking to dbus-glib. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88980 Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index ca2fb9db..ea099828 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -241,6 +241,7 @@ test_sd_activation_LDADD = \
$(NULL)
test_marshal_SOURCES = marshal.c
+test_marshal_CPPFLAGS = $(testutils_shared_if_possible_cppflags)
test_marshal_LDADD = \
$(testutils_shared_if_possible_libs) \
$(GLIB_LIBS) \
@@ -256,6 +257,7 @@ test_monitor_LDADD = \
$(NULL)
test_syntax_SOURCES = syntax.c
+test_syntax_CPPFLAGS = $(testutils_shared_if_possible_cppflags)
test_syntax_LDADD = \
$(testutils_shared_if_possible_libs) \
$(GLIB_LIBS) \