Changeset - r23392:820e856e5b35
[Not reviewed]
master
0 1 0
Charles Pigott - 6 years ago 2019-03-03 16:58:32
charlespigott@googlemail.com
Fix 95ccddd6: SDL static library flags was not updated to use pkg-config format
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
config.lib
Show inline comments
 
@@ -1680,13 +1680,13 @@ make_cflags_and_ldflags() {
 
	if [ -n "$sdl_config" ]; then
 
		CFLAGS="$CFLAGS -DWITH_SDL"
 
		# SDL must not add _GNU_SOURCE as it breaks many platforms
 
		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
 
		fi
 
	fi
 

	
0 comments (0 inline, 0 general)