From c0327469677e8f82ca99692efcf3b8f200c2c515 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Tue, 30 Jun 2020 11:22:51 +1000 Subject: [PATCH] sdl2_mixer: use pkg-config to set configure LIBS see #2538 --- src/sdl2_mixer.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdl2_mixer.mk b/src/sdl2_mixer.mk index b47fb438..cccda0e9 100644 --- a/src/sdl2_mixer.mk +++ b/src/sdl2_mixer.mk @@ -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' \