summaryrefslogtreecommitdiffhomepage
path: root/patches/ltris-1.3.2_pre.local.patch
blob: 21285879196a7ccd4c0db0b15176fb70d752d783 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
diff -ru ltris-1.3.2.orig/configure ltris-1.3.2/configure
--- ltris-1.3.2.orig/configure	2024-06-08 11:24:48.000000000 +0200
+++ ltris-1.3.2/configure	2024-08-09 10:45:55.135090962 +0200
@@ -7320,8 +7320,8 @@
   if test "$SDL_CONFIG" = "no" ; then
     no_sdl=yes
   else
-    SDL_CFLAGS=`$SDL_CONFIG $sdl_config_args --cflags`
-    SDL_LIBS=`$SDL_CONFIG $sdl_config_args --libs`
+    SDL_CFLAGS=`$PKG_CONFIG --cflags sdl`
+    SDL_LIBS=`$PKG_CONFIG --libs sdl`
 
     sdl_major_version=`$SDL_CONFIG $sdl_config_args --version | \
            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
@@ -7514,8 +7514,8 @@
 
 else
 
-	CFLAGS="$CFLAGS $($SDL_CONFIG --cflags)"
-	LIBS="$LIBS $($SDL_CONFIG --libs)"
+	CFLAGS="$CFLAGS $($PKG_CONFIG --cflags sdl)"
+	LIBS="$LIBS $($PKG_CONFIG --libs sdl)"
 
 fi