Browse Source

cross compile for standalone

lagkey
T-bone 6 years ago
parent
commit
5c696d3a25
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      CMake/Mingw-Cross.cmake

+ 1
- 1
CMake/Mingw-Cross.cmake View File

@@ -37,4 +37,4 @@ set( CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "" )
37 37
 #set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
38 38
 #Static Libs
39 39
 #Set Linker flags
40
-set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++")
40
+set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -static")

Loading…
Cancel
Save