Skip to content

Commit 0c40cd6

Browse files
committed
Add note about the libxmp build inconsistency
1 parent 83380ed commit 0c40cd6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ mkdir builddir && cd builddir
9494
# We prefer libflac, mpg123 and ogg-vorbis over SDL vendored implementations
9595
# at the moment. This can be changed later if need arises.
9696
# We don't build with libgme for now
97+
# With CMake, libxmp is handled differently compared to the other dependencies.
98+
# The library gets statically linked instead of using standard dynamic linking.
99+
# A fix has been proposed: https://github.com/libsdl-org/SDL_mixer/pull/642
97100
cmake -S .. -B . $PG_BASE_CMAKE_FLAGS \
98101
-DSDL2MIXER_DEPS_SHARED=$PG_DEPS_SHARED -DSDL2MIXER_VENDORED=0 \
99102
-DSDL2MIXER_FLAC_LIBFLAC=1 -DSDL2MIXER_FLAC_DRFLAC=0 \

0 commit comments

Comments
 (0)