Skip to content

Commit

Permalink
[fdk-aac] update osx triplet to build a dynamic library
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Aug 14, 2021
1 parent 9332e0e commit 88368f5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion overlay/triplets/x64-osx.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE static)

# Mixxx loads fdk-aac dynamically at runtime. This allows the user to replace
# the version of fdk-aac we ship which has the patent-encumbered HE-AAC
#removed with another build that supports HE-AAC.
if(${PORT} MATCHES "fdk-aac")
set(VCPKG_LIBRARY_LINKAGE dynamic)
else()
set(VCPKG_LIBRARY_LINKAGE static)
endif()

set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
set(VCPKG_OSX_ARCHITECTURES x86_64)
Expand Down

0 comments on commit 88368f5

Please sign in to comment.