Skip to content

Commit

Permalink
Turn off curl exe building to fix static openssl linking issue
Browse files Browse the repository at this point in the history
  • Loading branch information
wzkres authored Dec 18, 2023
1 parent 13fe408 commit 33c4928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 3rdparty/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ cd ${script_path}/curl
rm -rf cmake_build
mkdir cmake_build
cd cmake_build
cmake -DCURL_DISABLE_LDAP=YES -DCURL_DISABLE_LDAPS=YES -DOPENSSL_ROOT_DIR=${script_path}/prebuilt -DOPENSSL_INCLUDE_DIR=${script_path}/prebuilt/include/openssl -DOPENSSL_LIBRARIES=${script_path}/prebuilt/lib -DCMAKE_USE_LIBSSH2=NO -DBUILD_SHARED_LIBS=NO -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=${script_path}/prebuilt ../
cmake -DCURL_DISABLE_LDAP=YES -DCURL_DISABLE_LDAPS=YES -DBUILD_CURL_EXE=NO -DOPENSSL_ROOT_DIR=${script_path}/prebuilt -DOPENSSL_INCLUDE_DIR=${script_path}/prebuilt/include/openssl -DOPENSSL_LIBRARIES=${script_path}/prebuilt/lib -DCMAKE_USE_LIBSSH2=NO -DBUILD_SHARED_LIBS=NO -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=${script_path}/prebuilt ../
make -j4
make install
make clean
Expand Down

0 comments on commit 33c4928

Please sign in to comment.