summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/python/conf
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-01-24 17:32:38 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-01-24 17:32:38 +0300
commit4d3a5f24c1ebce15bed84744c5d7e727561467be (patch)
tree8d87a0cdedd2be45a342eaa55c7d1dc54fa863f5 /auto/modules/python/conf
parentde532922d9ab42aa15b40d47c8db53ac2af38500 (diff)
downloadunit-4d3a5f24c1ebce15bed84744c5d7e727561467be.tar.gz
unit-4d3a5f24c1ebce15bed84744c5d7e727561467be.tar.bz2
Fixed Python building on Ubuntu.
Diffstat (limited to '')
-rw-r--r--auto/modules/python/conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto/modules/python/conf b/auto/modules/python/conf
index 1c298a2d..0d9fb1c9 100644
--- a/auto/modules/python/conf
+++ b/auto/modules/python/conf
@@ -9,7 +9,7 @@ NXT_PYTHON_VERSION=`${NXT_PYTHON} -c \
NXT_PYTHON_INCLUDE=`${NXT_PYTHON} -c \
'import sysconfig, sys; \
- sys.stdout.write(sysconfig.get_path("platinclude"))'`
+ sys.stdout.write(sysconfig.get_config_var("INCLUDEPY"))'`
NXT_PYTHON_LIB="-lpython${NXT_PYTHON_VERSION}"