summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/java
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/java
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/java')
-rw-r--r--auto/modules/java2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto/modules/java b/auto/modules/java
index be8f443c..90b28b06 100644
--- a/auto/modules/java
+++ b/auto/modules/java
@@ -178,7 +178,7 @@ fi
NXT_JAVA_LIB_SERVER_PATH="${NXT_JAVA_LIB_PATH}/server"
-NXT_JAVA_LDFLAGS="-L${NXT_JAVA_LIB_SERVER_PATH} -Wl,-rpath ${NXT_JAVA_LIB_SERVER_PATH} -ljvm"
+NXT_JAVA_LDFLAGS="-L${NXT_JAVA_LIB_SERVER_PATH} -Wl,-rpath,${NXT_JAVA_LIB_SERVER_PATH} -ljvm"
nxt_found=no