summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/python
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-11-29 18:49:08 +0300
committerMax Romanov <max.romanov@nginx.com>2017-11-29 18:49:08 +0300
commit1add36a7ee543b993aeba10c04a4abfc0244c3f8 (patch)
tree80f15bfff54b432a259daba3b9d15a86528983c0 /auto/modules/python
parent3781950badda9a937fdfaac25013006d9e106c67 (diff)
downloadunit-1add36a7ee543b993aeba10c04a4abfc0244c3f8.tar.gz
unit-1add36a7ee543b993aeba10c04a4abfc0244c3f8.tar.bz2
Using --ld-opt when linking modules.
Diffstat (limited to '')
-rw-r--r--auto/modules/python4
1 files changed, 2 insertions, 2 deletions
diff --git a/auto/modules/python b/auto/modules/python
index 9e3ced74..f006d87b 100644
--- a/auto/modules/python
+++ b/auto/modules/python
@@ -154,8 +154,8 @@ all: ${NXT_PYTHON_MODULE}
${NXT_PYTHON_MODULE}: $NXT_BUILD_DIR/${NXT_PYTHON_MODULE}.unit.so
$NXT_BUILD_DIR/${NXT_PYTHON_MODULE}.unit.so: $nxt_objs
- $NXT_MODULE_LINK -o $NXT_BUILD_DIR/${NXT_PYTHON_MODULE}.unit.so \\
- $nxt_objs $NXT_PYTHON_LIBS
+ \$(NXT_MODULE_LINK) -o $NXT_BUILD_DIR/${NXT_PYTHON_MODULE}.unit.so \\
+ $nxt_objs $NXT_PYTHON_LIBS $NXT_LD_OPT
install: ${NXT_PYTHON_MODULE}-install