summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/python
diff options
context:
space:
mode:
Diffstat (limited to 'auto/modules/python')
-rw-r--r--auto/modules/python2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto/modules/python b/auto/modules/python
index ecf8802a..6c8198f5 100644
--- a/auto/modules/python
+++ b/auto/modules/python
@@ -64,7 +64,7 @@ nxt_found=no
if /bin/sh -c "$NXT_PYTHON_CONFIG --prefix" >> $NXT_AUTOCONF_ERR 2>&1; then
- if ${NXT_PYTHON_CONFIG} --embed 2>/dev/null; then
+ if ${NXT_PYTHON_CONFIG} --embed >/dev/null 2>&1; then
NXT_PYTHON_CONFIG="${NXT_PYTHON_CONFIG} --embed"
fi