summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/php
diff options
context:
space:
mode:
Diffstat (limited to 'auto/modules/php')
-rw-r--r--auto/modules/php3
1 files changed, 1 insertions, 2 deletions
diff --git a/auto/modules/php b/auto/modules/php
index 41eeb1c3..e92a67cd 100644
--- a/auto/modules/php
+++ b/auto/modules/php
@@ -111,8 +111,7 @@ if /bin/sh -c "${NXT_PHP_CONFIG} --version" >> $NXT_AUTOCONF_ERR 2>&1; then
if [ "$NXT_PHP_LIB_PATH" != "" ]; then
# "php-config --ldflags" does not contain path to libphp, but
# contains usually path to libraries required by extensions.
- NXT_PHP_LDFLAGS="-L${NXT_PHP_LIB_PATH} \
- -Wl,-rpath ${NXT_PHP_LIB_PATH}"
+ NXT_PHP_LDFLAGS="-L${NXT_PHP_LIB_PATH} -Wl,-rpath,${NXT_PHP_LIB_PATH}"
fi
fi