forked from third-party-mirrors/ollama
use g++ to build libext_server.so
on linux (#1972)
This commit is contained in:
parent
b6c0ef1e70
commit
4cf17990f7
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user