Commit 3f762bef authored by Simon McVittie's avatar Simon McVittie

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=88980Reviewed-by: Ralf Habacker's avatarRalf Habacker <ralf.habacker@freenet.de>
parent 7ae9b3c9
......@@ -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) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment