Skip to content

Commit 03961c7

Browse files
committed
vorbis-cmake
1 parent af02cb2 commit 03961c7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

external_deps/build.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,13 @@ build_vorbis() {
753753

754754
cd "${dir_name}"
755755

756-
cmake_build
756+
# Workaround a build issue on MinGW:
757+
# See: https://github.com/microsoft/vcpkg/issues/22990
758+
# and: https://github.com/microsoft/vcpkg/pull/23761
759+
ls win32/vorbis.def win32/vorbisenc.def win32/vorbisfile.def \
760+
| xargs -I{} -P3 sed -e 's/LIBRARY//' -i {}
761+
762+
cmake_build || cat win32/vorbis.def
757763
}
758764

759765
# Build Opus

0 commit comments

Comments
 (0)