Skip to content

Commit c537fe9

Browse files
committed
vorbis-cmake
1 parent af02cb2 commit c537fe9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

external_deps/build.sh

+10
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,16 @@ build_vorbis() {
753753

754754
cd "${dir_name}"
755755

756+
case "${PLATFORM}" in
757+
windows-*-msvc)
758+
# Workaround a build issue on MinGW:
759+
# See: https://github.com/microsoft/vcpkg/issues/22990
760+
# and: https://github.com/microsoft/vcpkg/pull/23761
761+
ls win32/vorbis.def win32/vorbisenc.def win32/vorbisfile.def \
762+
| xargs -I{} -P3 sed -e 's/LIBRARY//' -i {}
763+
;;
764+
esac
765+
756766
cmake_build
757767
}
758768

0 commit comments

Comments
 (0)