summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
Diffstat (limited to 'auto')
-rw-r--r--auto/modules/python4
1 files changed, 4 insertions, 0 deletions
diff --git a/auto/modules/python b/auto/modules/python
index abd145c9..ecf8802a 100644
--- a/auto/modules/python
+++ b/auto/modules/python
@@ -64,6 +64,10 @@ 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
+ NXT_PYTHON_CONFIG="${NXT_PYTHON_CONFIG} --embed"
+ fi
+
NXT_PYTHON_INCLUDE=`${NXT_PYTHON_CONFIG} --includes`
NXT_PYTHON_LIBS=`${NXT_PYTHON_CONFIG} --ldflags`