diff options
author | Tiago Natel de Moura <t.nateldemoura@f5.com> | 2020-06-23 11:01:20 +0100 |
---|---|---|
committer | Tiago Natel de Moura <t.nateldemoura@f5.com> | 2020-06-23 11:01:20 +0100 |
commit | 0326cefef518acc053718063019189b21dc26d32 (patch) | |
tree | 9b42c325f88d992b04c19ae33ef74dddea6e097d /auto | |
parent | 22c917bead38df560bb112006d0b4a28aa8919d3 (diff) | |
download | unit-0326cefef518acc053718063019189b21dc26d32.tar.gz unit-0326cefef518acc053718063019189b21dc26d32.tar.bz2 |
Python: fixed interpreter path in ./configure.
Diffstat (limited to 'auto')
-rw-r--r-- | auto/modules/python | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/auto/modules/python b/auto/modules/python index ad862f3c..ab314013 100644 --- a/auto/modules/python +++ b/auto/modules/python @@ -68,7 +68,6 @@ if /bin/sh -c "$NXT_PYTHON_CONFIG --prefix" >> $NXT_AUTOCONF_ERR 2>&1; then NXT_PYTHON_CONFIG="${NXT_PYTHON_CONFIG} --embed" fi - NXT_PYTHON_EXEC=`${NXT_PYTHON_CONFIG} --exec-prefix`/bin/${NXT_PYTHON} NXT_PYTHON_INCLUDE=`${NXT_PYTHON_CONFIG} --includes` NXT_PYTHON_LIBS=`${NXT_PYTHON_CONFIG} --ldflags` @@ -133,7 +132,7 @@ fi NXT_PYTHON_MOUNTS_HEADER=$NXT_BUILD_DIR/nxt_python_mounts.h -$NXT_PYTHON_EXEC -c 'import os.path +$NXT_PYTHON -c 'import os.path import sys pyver = "python" + str(sys.version_info[0]) + "." + str(sys.version_info[1]) |