summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/3rdparty/0008-include-the-shared-not-shared-result-in-log.patch
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/3rdparty/0008-include-the-shared-not-shared-result-in-log.patch')
-rw-r--r--mobile-widgets/3rdparty/0008-include-the-shared-not-shared-result-in-log.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/mobile-widgets/3rdparty/0008-include-the-shared-not-shared-result-in-log.patch b/mobile-widgets/3rdparty/0008-include-the-shared-not-shared-result-in-log.patch
new file mode 100644
index 000000000..38bb2aa7d
--- /dev/null
+++ b/mobile-widgets/3rdparty/0008-include-the-shared-not-shared-result-in-log.patch
@@ -0,0 +1,33 @@
+From a17a22e08e3398b243dbc369a8ff4c790c58db44 Mon Sep 17 00:00:00 2001
+From: Dirk Hohndel <dirk@hohndel.org>
+Date: Thu, 3 Dec 2020 15:01:18 -0800
+Subject: [PATCH 08/11] include the shared / not shared result in log
+
+We shouldn't be building Kirigami as shared library, yet that's
+what makes our GitHub builds fail.
+
+Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
+---
+ CMakeLists.txt | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 9f1404ac..6e4f4bba 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -37,9 +37,12 @@ set(AUTOMOC_MOC_OPTIONS -Muri=org.kde.kirigami)
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+ if(NOT BUILD_SHARED_LIBS)
++ message(STATUS "Static build of libkirigami")
+ add_definitions(-DKIRIGAMI_BUILD_TYPE_STATIC)
+ add_definitions(-DQT_PLUGIN)
+ add_definitions(-DQT_STATICPLUGIN=1)
++else()
++ message(STATUS "Shared build of libkirigami -- BUILD_SHARED_LIBS is \"${BUILD_SHARED_LIBS}\"")
+ endif()
+
+ ################# set KDE specific information #################
+--
+2.25.1
+