diff mbox

[Bug,984516] Re: should use sdl-config for static build not pkg-config

Message ID 20120418141022.7766.58801.malone@chaenomeles.canonical.com
State New
Headers show

Commit Message

Kenneth Salerno April 18, 2012, 2:10 p.m. UTC
you are correct, can we switch the parameter from "--static-libs" to "--
libs --static" ?
diff mbox

Patch

diff --git a/configure b/configure
index 2d62d12..b0cedd2 100755
--- a/configure
+++ b/configure
@@ -1548,7 +1548,7 @@  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`
+    sdl_libs=`$sdlconfig --libs --static 2>/dev/null`
   else
     sdl_libs=`$sdlconfig --libs 2> /dev/null`
   fi