File fix-CMakeLists_txt.patch of Package linuxdeploy-plugin-qt
diff -ruNp a/src/CMakeLists.txt b/src/CMakeLists.txt
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_library(linuxdeploy-plugin-qt_util OBJECT util.cpp util.h)
+add_library(linuxdeploy-plugin-qt_util STATIC util.cpp util.h)
target_include_directories(linuxdeploy-plugin-qt_util PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(linuxdeploy-plugin-qt_util linuxdeploy_core args)
diff -ruNp a/src/deployers/CMakeLists.txt b/src/deployers/CMakeLists.txt
--- a/src/deployers/CMakeLists.txt
+++ b/src/deployers/CMakeLists.txt
@@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 3.1)
+file(GLOB my_sources *.cpp)
+
set(CLASSES
PluginsDeployer
PluginsDeployerFactory
@@ -18,7 +20,7 @@ set(CLASSES
GamepadPluginsDeployer
)
-add_library(deployers OBJECT)
+add_library(deployers STATIC ${my_sources})
target_link_libraries(deployers PUBLIC linuxdeploy_core linuxdeploy-plugin-qt_util)