use g++ to build libext_server.so on linux (#1972)

This commit is contained in:
Jeffrey Morgan 2024-01-13 03:12:42 -05:00 committed by GitHub
parent b6c0ef1e70
commit 4cf17990f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 \