summaryrefslogtreecommitdiff
path: root/dbus-1-uninstalled.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-uninstalled.pc.in
parent09d71f92c349fb25053136fd329b5903c7216bdd (diff)
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-uninstalled.pc.in')
-rw-r--r--dbus-1-uninstalled.pc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus-1-uninstalled.pc.in b/dbus-1-uninstalled.pc.in
index f0072325..038c83e2 100644
--- a/dbus-1-uninstalled.pc.in
+++ b/dbus-1-uninstalled.pc.in
@@ -14,4 +14,4 @@ Description: Free desktop message bus (uninstalled copy)
Version: @VERSION@
Libs: ${abs_top_builddir}/dbus/libdbus-1.la
Libs.private: @LIBDBUS_LIBS@
-Cflags: -I${abs_top_srcdir}
+Cflags: -I${abs_top_srcdir} @DBUS_STATIC_BUILD_CPPFLAGS@