From d3ca5fb47a52322b48737d21d55bf1d6d0aa446a Mon Sep 17 00:00:00 2001 From: Tiago Natel de Moura Date: Thu, 28 May 2020 17:04:00 +0100 Subject: Packages: fixed java configure script. Now the configure script appends /server to --lib-path argument. --- auto/modules/java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'auto/modules') 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" -- cgit