X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.in;h=3033d4e276e8b95850b4eaca169550fc40463823;hb=0a3958efcdda5d3c639a5b74982b796ea87df2b6;hp=720e46f02661a7118ec9213dafa30575665087cd;hpb=658e44d47088aaea3c59fb248336a74fdefe4245;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