Skip to content

Commit e027d7a

Browse files
committed
Use drflac instead of libflac
1 parent 7d81d29 commit e027d7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildconfig/manylinux-build/docker_base/sdl_libs/build-sdl2-libs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@ mkdir builddir && cd builddir
9191
# The SDL2MIXER_DEPS_SHARED flag make it use standard dynamic linking rather than
9292
# dlopen-ing the library itself. This is important for when auditwheel moves
9393
# libraries into the wheel.
94-
# We prefer libflac, mpg123 and ogg-vorbis over SDL vendored implementations
94+
# We prefer mpg123 and ogg-vorbis over SDL vendored implementations
9595
# at the moment. This can be changed later if need arises.
96+
# libflac had link time issues on macs and windows(mingw) so we use drflac.
9697
# For now, libmodplug is preferred over libxmp (but this may need changing
9798
# in the future)
9899
cmake -S .. -B . $PG_BASE_CMAKE_FLAGS \
99100
-DSDL2MIXER_DEPS_SHARED=0 -DSDL2MIXER_VENDORED=0 \
100-
-DSDL2MIXER_FLAC_LIBFLAC=1 -DSDL2MIXER_FLAC_DRFLAC=0 \
101101
-DSDL2MIXER_MOD_MODPLUG=1 -DSDL2MIXER_MOD_XMP=0 \
102102
-DSDL2MIXER_MP3_MPG123=1 -DSDL2MIXER_MP3_DRMP3=0 \
103103
-DSDL2MIXER_VORBIS=VORBISFILE -DSDL2MIXER_VORBIS_VORBISFILE_SHARED=0 \

0 commit comments

Comments
 (0)