Skip to content

Commit

Permalink
Use drflac instead of libflac
Browse files Browse the repository at this point in the history
  • Loading branch information
ankith26 committed Jan 5, 2024
1 parent 7d81d29 commit 1745b76
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,14 @@ mkdir builddir && cd builddir
# The SDL2MIXER_DEPS_SHARED flag make it use standard dynamic linking rather than
# dlopen-ing the library itself. This is important for when auditwheel moves
# libraries into the wheel.
# We prefer libflac, mpg123 and ogg-vorbis over SDL vendored implementations
# We prefer mpg123 and ogg-vorbis over SDL vendored implementations
# at the moment. This can be changed later if need arises.
# libflac had link time issues on macs and windows(mingw) so we use drflac.
# For now, libmodplug is preferred over libxmp (but this may need changing
# in the future)
cmake -S .. -B . $PG_BASE_CMAKE_FLAGS \
-DSDL2MIXER_DEPS_SHARED=0 -DSDL2MIXER_VENDORED=0 \
-DSDL2MIXER_FLAC_LIBFLAC=1 -DSDL2MIXER_FLAC_DRFLAC=0 \
-DSDL2MIXER_FLAC_LIBFLAC=0 -DSDL2MIXER_FLAC_DRFLAC=1 \
-DSDL2MIXER_MOD_MODPLUG=1 -DSDL2MIXER_MOD_XMP=0 \
-DSDL2MIXER_MP3_MPG123=1 -DSDL2MIXER_MP3_DRMP3=0 \
-DSDL2MIXER_VORBIS=VORBISFILE -DSDL2MIXER_VORBIS_VORBISFILE_SHARED=0 \
Expand Down

0 comments on commit 1745b76

Please sign in to comment.