Remove garbage from Windows-SDL pc-file
This commit is contained in:
parent
12d1805f31
commit
6d3ce02bf7
1 changed files with 6 additions and 0 deletions
|
@ -36,6 +36,12 @@ ffbuild_dockerbuild() {
|
||||||
sed -ri -e 's/ \-l\/.+?\.a//g' \
|
sed -ri -e 's/ \-l\/.+?\.a//g' \
|
||||||
"$FFBUILD_PREFIX"/lib/pkgconfig/sdl2.pc
|
"$FFBUILD_PREFIX"/lib/pkgconfig/sdl2.pc
|
||||||
echo 'Requires: xxf86vm xscrnsaver xrandr xfixes xi xinerama xcursor' >> "$FFBUILD_PREFIX"/lib/pkgconfig/sdl2.pc
|
echo 'Requires: xxf86vm xscrnsaver xrandr xfixes xi xinerama xcursor' >> "$FFBUILD_PREFIX"/lib/pkgconfig/sdl2.pc
|
||||||
|
elif [[ $TARGET == win* ]]; then
|
||||||
|
sed -ri -e 's/\-Wl,\-\-no\-undefined.*//' \
|
||||||
|
-e 's/ \-mwindows//g' \
|
||||||
|
-e 's/ \-lSDL2main//g' \
|
||||||
|
-e 's/ \-Dmain=SDL_main//g' \
|
||||||
|
"$FFBUILD_PREFIX"/lib/pkgconfig/sdl2.pc
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue