sdl2_mixer: use pkg-config to set configure LIBS

see #2538
This commit is contained in:
Tony Theodore 2020-06-30 11:22:51 +10:00
parent e6099cdb3e
commit c032746967
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ define $(PKG)_BUILD
--disable-smpegtest \
SMPEG_CONFIG='$(PREFIX)/$(TARGET)/bin/smpeg2-config' \
WINDRES='$(TARGET)-windres' \
LIBS='-lvorbis -logg'
LIBS="`$(TARGET)-pkg-config libmodplug libmpg123 opusfile vorbisfile --libs-only-l`"
$(MAKE) -C '$(1)' -j '$(JOBS)' install $(MXE_DISABLE_CRUFT)
'$(TARGET)-gcc' \