Skip to content

Commit

Permalink
Fixed configure to support static SDL
Browse files Browse the repository at this point in the history
  • Loading branch information
Novakov committed Jan 25, 2016
1 parent fb90b7b commit 02dac8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 02dac8d

Please sign in to comment.