configure.in: Add -rpath to JAVA_LDFLAGS.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sat, 27 Jun 2009 11:19:53 +0000 (13:19 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sat, 27 Jun 2009 11:19:53 +0000 (13:19 +0200)
configure.in

index 720e46f..3033d4e 100644 (file)
@@ -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