diff options
| author | Valentin Bartenev <vbart@nginx.com> | 2020-10-26 22:24:32 +0300 |
|---|---|---|
| committer | Valentin Bartenev <vbart@nginx.com> | 2020-10-26 22:24:32 +0300 |
| commit | 84136eb49ded615d7408d656ca9791542a0280a0 (patch) | |
| tree | d3ed5ffc45ddf5e411cdf83953331dcefc7a1df5 /auto/modules/php | |
| parent | 54837759f36eddb80af22c8d73e103a948221dc7 (diff) | |
| download | unit-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/php')
| -rw-r--r-- | auto/modules/php | 3 |
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 |
