From 7f9ae4e126b6b0a1ac64b1441712bf59442918d7 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Sat, 8 Nov 2008 20:25:44 +0100 Subject: [PATCH] Append /../lib to default rpath. --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index d5b9bf5400..f9f5c622ea 100644 --- a/configure.in +++ b/configure.in @@ -164,7 +164,7 @@ AC_MSG_RESULT($reloc_b) AC_MSG_CHECKING(for rpath linkage) if test "$rpath_b" = "yes"; then - LDFLAGS="$LDFLAGS -Wl,-rpath -Wl,\\\$\$ORIGIN" + LDFLAGS="$LDFLAGS -Wl,-rpath -Wl,\\\$\$ORIGIN/../lib" elif test "$rpath_b" != "no"; then LDFLAGS="$LDFLAGS -Wl,-rpath -Wl,$rpath_b" fi -- 2.39.5