Skip to content

Commit 8d67164

Browse files
committed
deps.ffmpeg: Fix shared library CMake flag on macOS
The libdatachannel CMake does not have a ENABLE_SHARED flag. The correct flag is BUILD_SHARED_LIBS.
1 parent f5adf4f commit 8d67164

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps.ffmpeg/70-libdatachannel.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ config() {
3434

3535
args=(
3636
${cmake_flags}
37-
-DENABLE_SHARED="${_onoff[(( shared_libs + 1 ))]}"
37+
-DBUILD_SHARED_LIBS="${_onoff[(( shared_libs + 1 ))]}"
3838
-DUSE_MBEDTLS=1
3939
-DNO_WEBSOCKET=1
4040
-DNO_TESTS=1

0 commit comments

Comments
 (0)