mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-28 00:35:47 +00:00
fix(opus): build bundled libopus without libssp on MinGW
libopus enables -fstack-protector-strong and FORTIFY_SOURCE when MinGW has libssp, so libSceOpusDec.prx imported libssp-0.dll and failed to load. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01SNqSvnFwRBz3D76n476yw6
This commit is contained in:
1 parent
ee744b34ad
commit
27c0acabe2
1 file changed
+2
@@ -6,6 +6,8 @@ function(add_bundled_opus)
|
||||
set(OPUS_BUILD_PROGRAMS OFF)
|
||||
set(OPUS_INSTALL_PKG_CONFIG_MODULE OFF)
|
||||
set(OPUS_INSTALL_CMAKE_CONFIG_MODULE OFF)
|
||||
set(OPUS_STACK_PROTECTOR OFF)
|
||||
set(OPUS_FORTIFY_SOURCE OFF)
|
||||
add_subdirectory(3rdparty/opus EXCLUDE_FROM_ALL)
|
||||
configure_file(3rdparty/opus/COPYING ${CMAKE_BINARY_DIR}/core/libs/licenses/COPYING.opus COPYONLY)
|
||||
set_target_properties(opus PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
Reference in new issue
Block a user