wxwidgets3.2: disable curl support with static build.

This commit is contained in:
مهدي شينون (Mehdi Chinoune) 2025-10-09 05:35:31 +01:00
parent 3801a7073c
commit 45e4292ac0

View File

@ -16,7 +16,7 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-wxwidgets${_wx_basever}-common"
"${MINGW_PACKAGE_PREFIX}-wxwidgets${_wx_basever}-qt-libs" "${MINGW_PACKAGE_PREFIX}-wxwidgets${_wx_basever}-qt-libs"
"${MINGW_PACKAGE_PREFIX}-wxwidgets${_wx_basever}-qt") "${MINGW_PACKAGE_PREFIX}-wxwidgets${_wx_basever}-qt")
pkgver=${_wx_basever}.8.1 pkgver=${_wx_basever}.8.1
pkgrel=5 pkgrel=6
pkgdesc="A C++ library that lets developers create applications for Windows, Linux and UNIX (mingw-w64)" pkgdesc="A C++ library that lets developers create applications for Windows, Linux and UNIX (mingw-w64)"
arch=('any') arch=('any')
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64') mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
@ -141,7 +141,6 @@ build() {
-DwxBUILD_PRECOMP=OFF -DwxBUILD_PRECOMP=OFF
-DwxBUILD_TESTS=OFF -DwxBUILD_TESTS=OFF
-DwxUSE_LIBLZMA=ON -DwxUSE_LIBLZMA=ON
-DwxUSE_WEBREQUEST_CURL=ON
-DwxUSE_WEBREQUEST_WINHTTP=ON -DwxUSE_WEBREQUEST_WINHTTP=ON
-DwxUSE_STACKWALKER=ON -DwxUSE_STACKWALKER=ON
-DwxUSE_DBGHELP=ON -DwxUSE_DBGHELP=ON
@ -178,12 +177,12 @@ build() {
cmake \ cmake \
-DBUILD_SHARED_LIBS=${_is_shared} \ -DBUILD_SHARED_LIBS=${_is_shared} \
-DwxBUILD_SHARED=${_is_shared} \ -DwxBUILD_SHARED=${_is_shared} \
-DwxUSE_WEBREQUEST_CURL=${_is_shared} \
-DwxBUILD_TOOLKIT=${_toolkit} \ -DwxBUILD_TOOLKIT=${_toolkit} \
-DwxUSE_EXPAT=${_is_external} \ -DwxUSE_EXPAT=${_is_external} \
-DwxUSE_LIBJPEG=${_is_external} \ -DwxUSE_LIBJPEG=${_is_external} \
-DwxUSE_LIBPNG=${_is_external} \ -DwxUSE_LIBPNG=${_is_external} \
-DwxUSE_LIBTIFF=${_is_external} \ -DwxUSE_LIBTIFF=${_is_external} \
-DwxUSE_LIBWEBP=${_is_external} \
-DwxUSE_REGEX=${_is_external} \ -DwxUSE_REGEX=${_is_external} \
-DwxUSE_ZLIB=${_is_external} \ -DwxUSE_ZLIB=${_is_external} \
-DwxUSE_OPENGL=${_opengl} \ -DwxUSE_OPENGL=${_opengl} \