Add CPPFLAGS to "shared if possible" test binaries
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 3 Sep 2013 11:16:32 +0000 (12:16 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 5 Sep 2013 11:35:29 +0000 (12:35 +0100)
commit87df259d8c4aae3d188a15d7976c0f63141119e8
tree7a2a7053e4c51910337602ef128d7429a51ef8d2
parent9d80d46a794e0770494aa517d1b94e7e6ea9e21d
Add CPPFLAGS to "shared if possible" test binaries

In principle we ought to define DBUS_STATIC_BUILD in anything that's
using libdbus-internal.la (to avoid linking failures on
statically-linked mingw builds), and DBUS_TEST_USE_INTERNAL in any
test that's using the non-dbus-glib code paths of test-utils.[ch]
(to avoid the GLib requirement, although in practice, everything
"shared if possible" requires GLib at the moment anyway).

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68852
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
test/Makefile.am