Sfoglia il codice sorgente

cross compile for standalone

lagkey
T-bone 6 anni fa
parent
commit
5c696d3a25
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      CMake/Mingw-Cross.cmake

+ 1
- 1
CMake/Mingw-Cross.cmake Vedi 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…
Annulla
Salva