$NetBSD: patch-aj,v 1.1 2009/08/27 11:59:38 tnn Exp $

--- config/nspr-config.in.orig	2005-05-11 02:53:41.000000000 +0200
+++ config/nspr-config.in
@@ -122,7 +122,7 @@ if test "$echo_cflags" = "yes"; then
 fi
 
 if test "$echo_libs" = "yes"; then
-      libdirs=-L$libdir
+      libdirs="-Wl,-R$libdir/nspr -L$libdir/nspr"
       if test -n "$lib_plds"; then
 	libdirs="$libdirs -lplds${major_version}"
       fi
