summaryrefslogtreecommitdiffhomepage
path: root/auto/modules
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2020-05-28 19:16:25 +0300
committerAndrei Belov <defan@nginx.com>2020-05-28 19:16:25 +0300
commitad414c01e747cab419c9c70df1fdbdf3c3aad251 (patch)
tree38c285ee74cfedc11de16b886160eb9708907b42 /auto/modules
parent7786ae258e689b4be83647cea4be5f19c3369f31 (diff)
parentd3ca5fb47a52322b48737d21d55bf1d6d0aa446a (diff)
downloadunit-ad414c01e747cab419c9c70df1fdbdf3c3aad251.tar.gz
unit-ad414c01e747cab419c9c70df1fdbdf3c3aad251.tar.bz2
Merged with the default branch.1.18.0-1
Diffstat (limited to 'auto/modules')
-rw-r--r--auto/modules/java4
1 files changed, 2 insertions, 2 deletions
diff --git a/auto/modules/java b/auto/modules/java
index 2e6f292d..a3b1b958 100644
--- a/auto/modules/java
+++ b/auto/modules/java
@@ -172,12 +172,12 @@ if [ -z "$NXT_JAVA_LIB_PATH" ]; then
exit 1
fi
- NXT_JAVA_LIB_SERVER_PATH="${NXT_JAVA_LIB_PATH}/server"
-
$echo " $NXT_JAVA_LIB_PATH"
$echo "got library path $NXT_JAVA_LIB_PATH" >> $NXT_AUTOCONF_ERR
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"