CMake for server: Pass -dynamic flag to ghc
authorWuzzy <Wuzzy2@mail.ru>
Wed, 28 Mar 2018 15:21:23 +0200
changeset 13297 e9caada3aac1
parent 13296 31615a2e0db1
child 13298 d2d30bcca5f9
CMake for server: Pass -dynamic flag to ghc
gameServer/CMakeLists.txt
--- a/gameServer/CMakeLists.txt	Wed Mar 28 15:14:20 2018 +0200
+++ b/gameServer/CMakeLists.txt	Wed Mar 28 15:21:23 2018 +0200
@@ -55,6 +55,7 @@
 
 set(ghc_flags
     --make ${hwserv_main}
+    -dynamic
     -i${CMAKE_CURRENT_SOURCE_DIR}
     -o ${EXECUTABLE_OUTPUT_PATH}/hedgewars-server${CMAKE_EXECUTABLE_SUFFIX}
     -odir ${CMAKE_CURRENT_BINARY_DIR}