From: Florian Forster Date: Sat, 27 Jun 2009 11:19:53 +0000 (+0200) Subject: configure.in: Add -rpath to JAVA_LDFLAGS. X-Git-Tag: collectd-4.7.2~7 X-Git-Url: https://git.octo.it/?p=collectd.git;a=commitdiff_plain;h=449418fb46e6898e79b584f5de7e9dcefeba8f92 configure.in: Add -rpath to JAVA_LDFLAGS. --- diff --git a/configure.in b/configure.in index 720e46f0..3033d4e2 100644 --- a/configure.in +++ b/configure.in @@ -1540,7 +1540,7 @@ then if test "x$TMPDIR" != "x" then AC_MSG_RESULT([found in $TMPDIR]) - JAVA_LDFLAGS="$JAVA_LDFLAGS -L$TMPDIR" + JAVA_LDFLAGS="$JAVA_LDFLAGS -L$TMPDIR -Wl,-rpath -Wl,$TMPDIR" else AC_MSG_RESULT([not found]) fi