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:
@@ -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}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user