$NetBSD: patch-ab,v 1.1 2000/07/15 08:41:28 jlam Exp $ --- sigc-config.in.orig Thu Oct 21 02:28:33 1999 +++ sigc-config.in Sat Jul 15 04:32:16 2000 @@ -150,7 +150,7 @@ case "$i" in # a library, save it for later, in reverse order -l*) af_rev_libs="$i $af_rev_libs" ;; - -L*|-R*) + -L*|-R*|-Wl,-R*) if test "X$af_echo_libs_L" = "Xyes"; then case " $af_lib_L_flags " in *\ $i\ *) ;; # already there @@ -218,7 +218,7 @@ includes="-I@includedir@" fi if test "@libdir@" != /usr/lib ; then - libs="-L@libdir@" + libs="-Wl,-R@libdir@ -L@libdir@" fi af_cflags="$af_cflags -I@libdir@/sigc++/include $includes" af_libs="$libs -lsigc @THREAD_LIB@ $af_libs"