$NetBSD: patch-af,v 1.3 2003/10/04 18:03:26 danw Exp $ --- gtk-config.in.orig Tue Feb 2 00:17:38 1999 +++ gtk-config.in Thu Apr 29 12:13:36 1999 @@ -104,9 +104,9 @@ if test "$echo_libs" = "yes"; then my_glib_libs= - libdirs=-L@libdir@ + libdirs="-L@libdir@ -Wl,-R@libdir@" for i in $glib_libs ; do - if test $i != -L@libdir@ ; then + if test $i != -L@libdir@ -a x$i != x-Wl,-R@libdir@ ; then if test -z "$my_glib_libs" ; then my_glib_libs="$i" else