summaryrefslogtreecommitdiff
path: root/games/pongix/files/patch-configure
blob: 13b7608d47a06b94519e52c2a6717354a7b06b35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- configure	Sun Dec 25 16:08:14 2005
+++ configure	Wed Apr  5 21:28:25 2006
@@ -2800,7 +2800,7 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lSDL  $LIBS"
+LIBS="`sdl-config --libs`  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -2862,7 +2862,7 @@
 #define HAVE_LIBSDL 1
 _ACEOF
 
-  LIBS="-lSDL $LIBS"
+  LIBS="`sdl-config --libs` $LIBS"
 
 else
   \