blob: ef1d32193b85b955e89ce223cb1bbe8ed8de94ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -235,11 +235,11 @@ if(JPEGLI_STATIC)
# ourselves; for real use case we don't care about stdlib, as it is "granted",
# so just linking all other libraries is fine.
if (NOT MSVC AND NOT APPLE)
- string(APPEND CMAKE_EXE_LINKER_FLAGS " -static")
+ #string(APPEND CMAKE_EXE_LINKER_FLAGS " -static")
endif()
if ((NOT WIN32 AND NOT APPLE) OR CYGWIN OR MINGW)
set(CMAKE_FIND_LIBRARY_SUFFIXES .a)
- string(APPEND CMAKE_EXE_LINKER_FLAGS " -static-libgcc -static-libstdc++")
+ #string(APPEND CMAKE_EXE_LINKER_FLAGS " -static-libgcc -static-libstdc++")
endif()
endif() # JPEGLI_STATIC
|