$NetBSD: patch-aa,v 1.3 2003/12/14 15:05:01 wiz Exp $

--- gpgme/gpgme-config.in.orig	2003-09-03 22:59:35.000000000 +0200
+++ gpgme/gpgme-config.in
@@ -84,7 +84,7 @@ while test $# -gt 0; do
 	    output="$output $gpg_error_cflags"
 	    ;;
 	--libs)
-            output="$output -L$libdir"
+            output="$output -Wl,-R$libdir -L$libdir"
 	    case "$thread_module" in
 		pthread)
 	            output="$output -lgpgme-pthread $libs_pthread"
