[opus] Set STACK_PROTECTOR ON for Windows builds (#47822)

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
Johan Laanstra
2025-10-16 10:31:57 -07:00
committed by GitHub
parent 123c6ca1f1
commit 98ef4fc522
4 changed files with 8 additions and 3 deletions

View File

@@ -12,6 +12,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
avx2 AVX2_SUPPORTED
)
set(STACK_PROTECTOR ON)
set(ADDITIONAL_OPUS_OPTIONS "")
if(VCPKG_TARGET_IS_MINGW)
set(STACK_PROTECTOR OFF)
@@ -27,8 +28,6 @@ elseif(VCPKG_TARGET_IS_WINDOWS)
endif()
elseif(VCPKG_TARGET_IS_EMSCRIPTEN)
set(STACK_PROTECTOR OFF)
else()
set(STACK_PROTECTOR ON)
endif()
vcpkg_cmake_configure(

View File

@@ -1,6 +1,7 @@
{
"name": "opus",
"version": "1.5.2",
"port-version": 1,
"description": "Totally open, royalty-free, highly versatile audio codec",
"homepage": "https://github.com/xiph/opus",
"license": "BSD-3-Clause",

View File

@@ -7242,7 +7242,7 @@
},
"opus": {
"baseline": "1.5.2",
"port-version": 0
"port-version": 1
},
"opusfile": {
"baseline": "0.12+20221121",

View File

@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "2235818841e936376b19642c7a94fc7f17b2c2c2",
"version": "1.5.2",
"port-version": 1
},
{
"git-tree": "368f8193c8c240a844cd342a3a485a0fa62e5774",
"version": "1.5.2",