warzone2100/warzone2100-3.4.1-link_libz.patch

12 lines
609 B
Diff
Raw Permalink Normal View History

--- warzone2100/src/CMakeLists.txt.orig 2021-03-01 00:36:07.480997337 +0100
+++ warzone2100/src/CMakeLists.txt 2021-03-01 00:34:37.993463912 +0100
@@ -185,7 +185,7 @@
target_link_libraries(warzone2100 ${QT5ALL_LIBRARIES} ${QT5ALL_LDFLAGS_OTHER})
target_link_libraries(warzone2100 version Qt5::QWindowsIntegrationPlugin Qt5ThemeSupport Qt5FontDatabaseSupport Qt5EventDispatcherSupport)
else()
- set_target_properties(warzone2100 PROPERTIES LINK_FLAGS "-Wl,--start-group")
+ set_target_properties(warzone2100 PROPERTIES LINK_FLAGS "-Wl,--start-group /usr/lib64/libz.a")
endif()
endif()