From 55438532ed7110039e2362eb96ff3840d97e54ee Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 5 Feb 2015 12:47:32 +0000 Subject: [PATCH 1/2] 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. --- test/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/Makefile.am b/test/Makefile.am index ca2fb9d..ea09982 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) \ -- 2.1.4