Fix 95ccddd6
: SDL static library flags was not updated to use pkg-config format
This commit is contained in:
@@ -1683,7 +1683,7 @@ make_cflags_and_ldflags() {
|
|||||||
CFLAGS="$CFLAGS `$sdl_config --cflags | sed 's@-D_GNU_SOURCE[^ ]*@@'`"
|
CFLAGS="$CFLAGS `$sdl_config --cflags | sed 's@-D_GNU_SOURCE[^ ]*@@'`"
|
||||||
if [ "$os" != "MINGW" ] && [ "$os" != "CYGWIN" ]; then
|
if [ "$os" != "MINGW" ] && [ "$os" != "CYGWIN" ]; then
|
||||||
if [ "$enable_static" != "0" ]; then
|
if [ "$enable_static" != "0" ]; then
|
||||||
LIBS="$LIBS `$sdl_config --static-libs`"
|
LIBS="$LIBS `$sdl_config --static --libs`"
|
||||||
else
|
else
|
||||||
LIBS="$LIBS `$sdl_config --libs`"
|
LIBS="$LIBS `$sdl_config --libs`"
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user