diff options
author | Tiago Natel de Moura <t.nateldemoura@f5.com> | 2020-05-28 17:04:00 +0100 |
---|---|---|
committer | Tiago Natel de Moura <t.nateldemoura@f5.com> | 2020-05-28 17:04:00 +0100 |
commit | d3ca5fb47a52322b48737d21d55bf1d6d0aa446a (patch) | |
tree | c316e9afc9af01ab4c24bb304886211fee6660e6 /auto/modules/java | |
parent | 9d8e476c4e3695019b0a1fe3696d3411a8393de6 (diff) | |
download | unit-d3ca5fb47a52322b48737d21d55bf1d6d0aa446a.tar.gz unit-d3ca5fb47a52322b48737d21d55bf1d6d0aa446a.tar.bz2 |
Packages: fixed java configure script.1.18.0
Now the configure script appends /server to --lib-path argument.
Diffstat (limited to 'auto/modules/java')
-rw-r--r-- | auto/modules/java | 4 |
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" |