Add new sdl2 dependency to its .pc file

This commit is contained in:
BtbN 2022-07-14 00:16:48 +02:00
parent 13f25e0993
commit 975fd8d3fd

View file

@ -53,6 +53,8 @@ ffbuild_dockerbuild() {
sed -ri -e 's/ -lSDL2//g' \ sed -ri -e 's/ -lSDL2//g' \
-e 's/Libs: /Libs: -lSDL2 /'\ -e 's/Libs: /Libs: -lSDL2 /'\
"$FFBUILD_PREFIX"/lib/pkgconfig/sdl2.pc "$FFBUILD_PREFIX"/lib/pkgconfig/sdl2.pc
echo 'Requires: samplerate' >> "$FFBUILD_PREFIX"/lib/pkgconfig/sdl2.pc
} }
ffbuild_configure() { ffbuild_configure() {