blob: 8ecfdda9664a9bb8e8526af46304ffe33ba98a92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c8f3d859..8aa425f6 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -117,9 +117,7 @@ if (NOT MSVC)
if (UNIX AND NOT APPLE)
set(CMAKE_FIND_LIBRARY_SUFFIXES ".a;.so")
endif()
- add_link_options(-static)
if (MINGW)
- add_link_options(-static-libgcc -static-libstdc++)
endif()
endif()
if (GGML_GPROF)
|