[openssl] Support universal mac builds (#49960)

This commit is contained in:
Jonny 2026-02-13 22:51:26 +00:00 committed by GitHub
parent 9d7c1baef9
commit dc741032ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 2 deletions

View File

@ -77,6 +77,10 @@ elseif(VCPKG_TARGET_IS_TVOS OR VCPKG_TARGET_IS_WATCHOS)
# disable that makes linkage error (e.g. require stderr usage)
list(APPEND CONFIGURE_OPTIONS no-ui no-asm)
elseif(VCPKG_TARGET_IS_OSX)
# Universal builds don't support ASM
if(VCPKG_OSX_ARCHITECTURES MATCHES "arm64" AND VCPKG_OSX_ARCHITECTURES MATCHES "x86_64")
list(APPEND CONFIGURE_OPTIONS no-asm)
endif()
if(VCPKG_TARGET_ARCHITECTURE MATCHES "arm64")
set(OPENSSL_ARCH darwin64-arm64)
else()

View File

@ -1,7 +1,7 @@
{
"name": "openssl",
"version": "3.6.1",
"port-version": 1,
"port-version": 2,
"description": "OpenSSL is an open source project that provides a robust, commercial-grade, and full-featured toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols. It is also a general-purpose cryptography library.",
"homepage": "https://www.openssl.org",
"license": "Apache-2.0",

View File

@ -7290,7 +7290,7 @@
},
"openssl": {
"baseline": "3.6.1",
"port-version": 1
"port-version": 2
},
"opensubdiv": {
"baseline": "3.5.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "13ecbd590e54cff1467a8196b5f0dcab74ae1c24",
"version": "3.6.1",
"port-version": 2
},
{
"git-tree": "e21dbecc6f01203cf4c0bf0f02f390ef38aaf25b",
"version": "3.6.1",