1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 06:46:38 +02:00

python: fix detection of python (first try "python2.x" and then "python") (bug #36835)

This commit is contained in:
Sebastien Helleu
2012-07-17 14:07:03 +02:00
parent 7caa481b24
commit 24a06f0e08
3 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ IF(PYTHON_FOUND)
ENDIF(PYTHON_FOUND)
FIND_PROGRAM(PYTHON_EXECUTABLE
NAMES python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2
NAMES python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
@@ -65,7 +65,7 @@ IF(PYTHON_EXECUTABLE)
)
FIND_LIBRARY(PYTHON_LIBRARY
NAMES python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2
NAMES python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
)