From 02dac8d2f4331a07c90340712ed4055152aa092e Mon Sep 17 00:00:00 2001 From: Maciej Nowak Date: Mon, 25 Jan 2016 17:59:48 +0100 Subject: [PATCH] Fixed configure to support static SDL --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 94d3471eb8..e99eb78752 100755 --- a/configure +++ b/configure @@ -2339,8 +2339,8 @@ if test "$sdl" != "no" ; then int main( void ) { return SDL_Init (SDL_INIT_VIDEO); } EOF sdl_cflags=`$sdlconfig --cflags 2> /dev/null` - if test "$static" = "yes" ; then - sdl_libs=`$sdlconfig --static-libs 2>/dev/null` + if test "$static" = "yes" ; then + sdl_libs=`$sdlconfig --static --libs 2>/dev/null` else sdl_libs=`$sdlconfig --libs 2> /dev/null` fi