X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2FCMakeLists.txt;h=8a0803a761aff40d5334d66bca520737dd1471d2;hp=77e5ca2dd207647276fc41fe9fbf1646aae1f3a6;hb=de0fed7ab15e03f57ee0feae1b9e9147065f18db;hpb=7ce6c4e45c16f4d7a69254fa13a14a93ce8b5ccd diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 77e5ca2..8a0803a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -173,6 +173,7 @@ list(APPEND ALL_LIBRARIES ssp) list(APPEND ALL_DEFINITIONS _FORTIFY_SOURCE=2) if (WIN32) list(APPEND ALL_LIBRARIES mingw32) +set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static") endif() endif()