aboutsummaryrefslogtreecommitdiffstats
path: root/games/scummvm-tools/files/patch-configure
blob: 87c96e205bde26bb1a5508ba0217f1f5b8c42cb8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- configure.orig	2021-10-03 21:07:57 UTC
+++ configure
@@ -1836,9 +1836,9 @@ if test "$_wxwidgets" = auto ; then
 fi
 
 if test "$_wxwidgets" = yes ; then
-	_wxincludes="`$_wxconfig --prefix="$_wxpath" --cflags`"
-	_wxlibs="`$_wxconfig --prefix="$_wxpath" --libs`"
-	_wxstaticlibs="`$_wxconfig --prefix="$_wxpath" --static --libs 2> /dev/null`"
+	_wxincludes="`$_wxconfig --cflags`"
+	_wxlibs="`$_wxconfig --libs`"
+	_wxstaticlibs="`$_wxconfig --static --libs 2> /dev/null`"
 	_wxstaticlibs=`echo $_wxstaticlibs | sed 's|-lpng||' | sed 's|-lz||'`
 	# _wxstaticlibs may contain non-static libraries that we also have in _wxstaticlibs.
 	# remove those to avoid dependency on non-static libraries