$NetBSD: patch-aa,v 1.2 2004/10/15 18:21:56 minskim Exp $ --- src/gpg-error-config.in.orig 2004-10-07 03:53:03.000000000 -0600 +++ src/gpg-error-config.in @@ -63,7 +63,7 @@ while test $# -gt 0; do ;; --libs) if test "x$libdir" != "x/usr/lib" -a "x$libdir" != "x/lib"; then - output="$output -L$libdir" + output="$output -Wl,-R$libdir -L$libdir" fi output="$output -lgpg-error" ;;