summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Pigott <charlespigott@googlemail.com>2019-03-03 16:58:32 +0000
committerCharles Pigott <charlespigott@googlemail.com>2019-03-03 18:04:36 +0000
commitd9b4ada7e950dd94be30af7da3e61ffe049229b3 (patch)
tree3faab45a7557f59db2d2b29bd8ed44726e3d9947
parent1a663d9efc4df763b908d7f405efe9b70bfe7955 (diff)
downloadopenttd-d9b4ada7e950dd94be30af7da3e61ffe049229b3.tar.xz
Fix 95ccddd6: SDL static library flags was not updated to use pkg-config format
-rw-r--r--config.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.lib b/config.lib
index 5312636c4..f825ea210 100644
--- a/config.lib
+++ b/config.lib
@@ -1683,7 +1683,7 @@ make_cflags_and_ldflags() {
CFLAGS="$CFLAGS `$sdl_config --cflags | sed 's@-D_GNU_SOURCE[^ ]*@@'`"
if [ "$os" != "MINGW" ] && [ "$os" != "CYGWIN" ]; then
if [ "$enable_static" != "0" ]; then
- LIBS="$LIBS `$sdl_config --static-libs`"
+ LIBS="$LIBS `$sdl_config --static --libs`"
else
LIBS="$LIBS `$sdl_config --libs`"
fi