summarylogtreecommitdiffstats
path: root/fix-pthread-fastcgi.patch
blob: 52f3b082340aba28cf4c13c25cf695750a33c6ef (plain)
1
2
3
4
5
6
7
8
9
10
11
--- tempus_wps_server/CMakeLists.txt.new
+++ tempus_wps_server/CMakeLists.txt
@@ -9,6 +9,7 @@
 set(CPACK_PACKAGE_CONTACT       "Oslandia <infos@oslandia.com>")
 set(CPACK_STRIP_FILES           TRUE)
 set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE")
+set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pthread")
 
 SET(CPACK_GENERATOR "DEB")
 SET(CPACK_DEBIAN_PACKAGE_DEPENDS "tempus-core (>= 2.5.0)")