summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/php
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/php
parent3781950badda9a937fdfaac25013006d9e106c67 (diff)
downloadunit-1add36a7ee543b993aeba10c04a4abfc0244c3f8.tar.gz
unit-1add36a7ee543b993aeba10c04a4abfc0244c3f8.tar.bz2
Using --ld-opt when linking modules.
Diffstat (limited to 'auto/modules/php')
-rw-r--r--auto/modules/php4
1 files changed, 2 insertions, 2 deletions
diff --git a/auto/modules/php b/auto/modules/php
index f3d59087..daeb0b68 100644
--- a/auto/modules/php
+++ b/auto/modules/php
@@ -157,8 +157,8 @@ all: ${NXT_PHP_MODULE}
${NXT_PHP_MODULE}: $NXT_BUILD_DIR/${NXT_PHP_MODULE}.unit.so
$NXT_BUILD_DIR/${NXT_PHP_MODULE}.unit.so: $nxt_objs
- $NXT_MODULE_LINK -o $NXT_BUILD_DIR/${NXT_PHP_MODULE}.unit.so \\
- $nxt_objs ${NXT_PHP_LIB} ${NXT_PHP_LDFLAGS}
+ \$(NXT_MODULE_LINK) -o $NXT_BUILD_DIR/${NXT_PHP_MODULE}.unit.so \\
+ $nxt_objs ${NXT_PHP_LIB} ${NXT_PHP_LDFLAGS} $NXT_LD_OPT
install: ${NXT_PHP_MODULE}-install