When not producing a dynamic library, define DBUS_STATIC_BUILD
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 12 Mar 2012 14:15:48 +0000 (14:15 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 15 Jun 2012 13:25:48 +0000 (14:25 +0100)
commitefddba53da6b76478064f43d8235de12151f33ad
treec4e2a252b17149e4d87e272bcec03a3e4934ddf9
parent09d71f92c349fb25053136fd329b5903c7216bdd
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>
configure.ac
dbus-1-uninstalled.pc.in
dbus-1.pc.in
test/Makefile.am
tools/Makefile.am