aboutsummaryrefslogtreecommitdiff
path: root/ports/alac
diff options
context:
space:
mode:
Diffstat (limited to 'ports/alac')
-rw-r--r--ports/alac/CMakeLists.txt4
-rw-r--r--ports/alac/CONTROL2
-rw-r--r--ports/alac/portfile.cmake3
3 files changed, 4 insertions, 5 deletions
diff --git a/ports/alac/CMakeLists.txt b/ports/alac/CMakeLists.txt
index 843189546..fbe190b56 100644
--- a/ports/alac/CMakeLists.txt
+++ b/ports/alac/CMakeLists.txt
@@ -35,10 +35,6 @@ if(MSVC)
add_compile_options(/W4 -D_CRT_SECURE_NO_WARNINGS -DTARGET_OS_WIN32)
endif()
-if(BUILD_SHARED_LIBS)
- set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
-endif()
-
include_directories(. codec convert-utility)
add_library(libalac ${SRCS})
diff --git a/ports/alac/CONTROL b/ports/alac/CONTROL
index f50b135e9..07ca2b5a2 100644
--- a/ports/alac/CONTROL
+++ b/ports/alac/CONTROL
@@ -1,3 +1,3 @@
Source: alac
-Version: 2017-11-03-c38887c5
+Version: 2017-11-03-c38887c5-1
Description: The Apple Lossless Audio Codec (ALAC) is a lossless audio codec developed by Apple and deployed on all of its platforms and devices.
diff --git a/ports/alac/portfile.cmake b/ports/alac/portfile.cmake
index 309ebfef9..ce5c6bad1 100644
--- a/ports/alac/portfile.cmake
+++ b/ports/alac/portfile.cmake
@@ -3,6 +3,9 @@ if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
endif()
include(vcpkg_common_functions)
+
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO macosforge/alac