diff options
author | Charles Pigott <charlespigott@googlemail.com> | 2018-06-18 21:22:39 +0100 |
---|---|---|
committer | Patric Stout <truebrain@openttd.org> | 2018-07-19 20:24:17 +0200 |
commit | a3d1950b656787b76fbccec1aedd63407c34c2f1 (patch) | |
tree | 4d0fd5cbb2e6c7da76c3ab54b52f1d7bf0e0b7f0 | |
parent | 63898f61b0ce4e321b5a7c39da2cfb5b16cfde5f (diff) | |
download | openttd-a3d1950b656787b76fbccec1aedd63407c34c2f1.tar.xz |
Codechange: Ensure that -lfreetype is always last when linking statically
Fixes weird bug with MinGW
-rw-r--r-- | config.lib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config.lib b/config.lib index 50cfa28d2..755544018 100644 --- a/config.lib +++ b/config.lib @@ -1781,7 +1781,7 @@ make_cflags_and_ldflags() { CFLAGS="$CFLAGS `$freetype_config --cflags | tr '\n\r' ' '`" if [ "$enable_static" != "0" ]; then - LIBS="$LIBS `$freetype_config --libs --static | tr '\n\r' ' '`" + LIBS="$LIBS `$freetype_config --libs --static | tr '\n\r' ' '` -lfreetype" else LIBS="$LIBS `$freetype_config --libs | tr '\n\r' ' '`" fi |