summaryrefslogtreecommitdiff
path: root/dbus-1.pc.in
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-03-12 14:15:48 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-06-15 14:25:48 +0100
commitefddba53da6b76478064f43d8235de12151f33ad (patch)
treec4e2a252b17149e4d87e272bcec03a3e4934ddf9 /dbus-1.pc.in
parent09d71f92c349fb25053136fd329b5903c7216bdd (diff)
downloaddbus-efddba53da6b76478064f43d8235de12151f33ad.tar.gz
When not producing a dynamic library, define DBUS_STATIC_BUILD
When targeting Windows, linking against the static library requires special effort to turn off DLL import/export processing. We normally link some things against the dynamic library, but if we're not building that, we'll have to link everything statically. Based on patches from 'william' on fd.o #46367. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33973 Tested-by: René Berber <Rene.Berber gmail com>
Diffstat (limited to 'dbus-1.pc.in')
-rw-r--r--dbus-1.pc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus-1.pc.in b/dbus-1.pc.in
index 7201e07f..25f8bcee 100644
--- a/dbus-1.pc.in
+++ b/dbus-1.pc.in
@@ -14,4 +14,4 @@ Description: Free desktop message bus
Version: @VERSION@
Libs: -L${libdir} -ldbus-1
Libs.private: @LIBDBUS_LIBS@
-Cflags: -I${includedir}/dbus-1.0 -I${libdir}/dbus-1.0/include
+Cflags: -I${includedir}/dbus-1.0 -I${libdir}/dbus-1.0/include @DBUS_STATIC_BUILD_CPPFLAGS@