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

core: fix detection of python on Ubuntu Raring

This commit is contained in:
Sebastien Helleu
2013-01-31 17:14:34 +01:00
parent 8b43151c85
commit 5d2382caab
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ ENDIF(ENABLE_PYTHON3)
IF(PYTHON_EXECUTABLE)
EXECUTE_PROCESS(
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('CONFINCLUDEPY'))"
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('INCLUDEPY'))"
OUTPUT_VARIABLE PYTHON_INC_DIR
)