X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.in;h=3033d4e276e8b95850b4eaca169550fc40463823;hb=6ec92a34ccbd9454b48685e69405c633026cfe05;hp=720e46f02661a7118ec9213dafa30575665087cd;hpb=293f51479144f9a7b34dbb835da1143ae850b159;p=collectd.git 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