summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/python
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2020-10-26 22:24:32 +0300
committerValentin Bartenev <vbart@nginx.com>2020-10-26 22:24:32 +0300
commit84136eb49ded615d7408d656ca9791542a0280a0 (patch)
treed3ed5ffc45ddf5e411cdf83953331dcefc7a1df5 /auto/modules/python
parent54837759f36eddb80af22c8d73e103a948221dc7 (diff)
downloadunit-84136eb49ded615d7408d656ca9791542a0280a0.tar.gz
unit-84136eb49ded615d7408d656ca9791542a0280a0.tar.bz2
Configure: using comma instead of space for passing -rpath value.
This variant will be more interoperable across various systems and it's already used in Ruby module. Otherwise, configure tests fail on NetBSD with: gcc: Missing argument for -Wl,-rpath
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 48f6e5ef..2ab3ff7d 100644
--- a/auto/modules/python
+++ b/auto/modules/python
@@ -73,7 +73,7 @@ if /bin/sh -c "$NXT_PYTHON_CONFIG --prefix" >> $NXT_AUTOCONF_ERR 2>&1; then
if [ "$NXT_PYTHON_LIB_PATH" != "" ]; then
# "python-config --ldflags" may not contain path to libpython.
- NXT_PYTHON_LDFLAGS="-L$NXT_PYTHON_LIB_PATH -Wl,-rpath $NXT_PYTHON_LIB_PATH"
+ NXT_PYTHON_LDFLAGS="-L$NXT_PYTHON_LIB_PATH -Wl,-rpath,$NXT_PYTHON_LIB_PATH"
else
NXT_PYTHON_LDFLAGS=""
fi