summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/python/conf
diff options
context:
space:
mode:
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}"