aboutsummarylogtreecommitdiffstats
path: root/qt5-fix-linking-against-static-dbus.patch
blob: b17ac71cff4589223f33b724669d57122dbe6166 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- config.tests/unix/dbus/dbus.cpp.orig	2015-03-08 17:05:21.216593135 +0100
+++ config.tests/unix/dbus/dbus.cpp	2015-03-08 17:06:35.276826201 +0100
@@ -31,6 +31,10 @@
 **
 ****************************************************************************/

+#ifdef QT_STATIC
+#  define DBUS_STATIC_BUILD
+#endif
+
 #define DBUS_API_SUBJECT_TO_CHANGE
 #include <dbus/dbus.h>

 --- src/dbus/qdbus_symbols_p.h.orig     2016-06-10 08:48:56.000000000 +0200
 +++ src/dbus/qdbus_symbols_p.h  2016-08-14 00:23:15.325768622 +0200
 @@ -57,6 +57,10 @@

  #ifndef QT_NO_DBUS

 +#ifdef QT_STATIC
 +#  define DBUS_STATIC_BUILD
 +#endif
 +
  #ifdef QT_LINKED_LIBDBUS
  #  include <dbus/dbus.h>
  #else