Skip to content

Commit

Permalink
Link self-build zlib
Browse files Browse the repository at this point in the history
  • Loading branch information
halx99 committed Oct 23, 2024
1 parent 718a64c commit d558883
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ Foreach ($lib_name in $libs) {
Push-Location $lib_src
$install_dir = Join-Path $install_root $lib_name
mkdirs $install_dir
Set-Variable -Name "${lib_name}_install_dir" -Value $install_dir -Scope Global
if ($build_conf.cb_tool -ne 'custom') {
$_config_options = $build_conf.options
if ($build_conf.cb_tool -eq 'cmake') {
Expand Down
4 changes: 2 additions & 2 deletions src/curl/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ver: 8.10.1
tag_prefix: curl-
tag_dot2ul: true
cb_tool: cmake
options: -DUSE_NGHTTP2=OFF -DCURL_DISABLE_LDAP=TRUE -DUSE_LIBIDN2=FALSE -DCURL_USE_LIBSSH2=FALSE -DBUILD_CURL_EXE=FALSE -DCURL_DISABLE_TESTS=TRUE -DCURL_USE_OPENSSL=TRUE -DOPENSSL_ROOT_DIR=$openssl_dir
options_cross: -DCMAKE_FIND_ROOT_PATH=$openssl_dir
options: -DZLIB_ROOT=$zlib_install_dir -DUSE_NGHTTP2=OFF -DCURL_DISABLE_LDAP=TRUE -DUSE_LIBIDN2=FALSE -DCURL_USE_LIBSSH2=FALSE -DBUILD_CURL_EXE=FALSE -DCURL_DISABLE_TESTS=TRUE -DCURL_USE_OPENSSL=TRUE -DOPENSSL_ROOT_DIR=$openssl_install_dir
options_cross: -DCMAKE_FIND_ROOT_PATH=$openssl_install_dir
options_unix: -DBUILD_SHARED_LIBS=OFF
options_msw: -DBUILD_SHARED_LIBS=ON
1 change: 0 additions & 1 deletion src/openssl/build1.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,3 @@ else {
}
}

$Global:openssl_dir = $install_dir

0 comments on commit d558883

Please sign in to comment.