diff options
Diffstat (limited to '')
-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" |