diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-01-24 17:32:38 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-01-24 17:32:38 +0300 |
commit | 4d3a5f24c1ebce15bed84744c5d7e727561467be (patch) | |
tree | 8d87a0cdedd2be45a342eaa55c7d1dc54fa863f5 /auto/modules/python | |
parent | de532922d9ab42aa15b40d47c8db53ac2af38500 (diff) | |
download | unit-4d3a5f24c1ebce15bed84744c5d7e727561467be.tar.gz unit-4d3a5f24c1ebce15bed84744c5d7e727561467be.tar.bz2 |
Fixed Python building on Ubuntu.
Diffstat (limited to 'auto/modules/python')
-rw-r--r-- | auto/modules/python/conf | 2 |
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}" |