Changeset - r22958:b9a9c2b8b9be
[Not reviewed]
master
0 1 0
Charles Pigott - 6 years ago 2018-06-18 20:22:39
charlespigott@googlemail.com
Codechange: Ensure that -lfreetype is always last when linking statically

Fixes weird bug with MinGW
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
config.lib
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general)