diff options
Diffstat (limited to 'qt5-fix-linking-against-static-dbus.patch')
-rw-r--r-- | qt5-fix-linking-against-static-dbus.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/qt5-fix-linking-against-static-dbus.patch b/qt5-fix-linking-against-static-dbus.patch new file mode 100644 index 000000000000..b17ac71cff45 --- /dev/null +++ b/qt5-fix-linking-against-static-dbus.patch @@ -0,0 +1,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 |