From 8906c0968c84f4270f1ff5ccea807d6ebe4a9b7f Mon Sep 17 00:00:00 2001 From: BtbN Date: Fri, 10 Jun 2022 01:00:16 +0200 Subject: [PATCH] Fix SDL2 .pc file some more --- scripts.d/50-sdl.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts.d/50-sdl.sh b/scripts.d/50-sdl.sh index 544ce71..642abf3 100755 --- a/scripts.d/50-sdl.sh +++ b/scripts.d/50-sdl.sh @@ -49,6 +49,10 @@ ffbuild_dockerbuild() { -e 's/ \-Dmain=SDL_main//g' \ "$FFBUILD_PREFIX"/lib/pkgconfig/sdl2.pc fi + + sed -ri -e 's/ -lSDL2//g' \ + -e 's/Libs: /Libs: -lSDL2 /'\ + "$FFBUILD_PREFIX"/lib/pkgconfig/sdl2.pc } ffbuild_configure() {