summaryrefslogtreecommitdiff
path: root/pcr/kiwix-git/0002-fix-python2-path.patch
blob: 947dcf0426979d876d4f75aeda735a5697c29900 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -Nur kiwix-0.9.orig/configure.ac kiwix-0.9/configure.ac
--- kiwix-0.9.orig/configure.ac	2014-10-29 20:55:35.000000000 -0200
+++ kiwix-0.9/configure.ac	2016-01-18 18:25:25.287664496 -0300
@@ -831,10 +831,10 @@
 else
     # SDK 0.9 and further do not have an xpidl binary anymore
     # This is replace by the python script typelib.py and header.py
-    AC_PATH_PROG([PYTHON], "python")
+    AC_PATH_PROG([PYTHON], "python2")
     if test [ ! "$PYTHON" ]
     then
-             AC_MSG_ERROR([[cannot find python]])
+             AC_MSG_ERROR([[cannot find python2]])
     fi
 
     if test [ ! -f "$XPIDL_PATH/header.py" -o ! -f "$XPIDL_PATH/typelib.py" ]