mirror of
https://github.com/ollama/ollama.git
synced 2025-10-09 20:03:14 +02:00
use g++ to build libext_server.so
on linux (#1972)
This commit is contained in:
@@ -52,7 +52,7 @@ install() {
|
||||
}
|
||||
|
||||
link_server_lib() {
|
||||
gcc -fPIC -g -shared -o ${BUILD_DIR}/lib/libext_server.so \
|
||||
g++ -fPIC -g -shared -o ${BUILD_DIR}/lib/libext_server.so \
|
||||
-Wl,--whole-archive \
|
||||
${BUILD_DIR}/lib/libext_server.a \
|
||||
-Wl,--no-whole-archive \
|
||||
|
Reference in New Issue
Block a user