$NetBSD: patch-af,v 1.5 2001/01/29 01:15:35 jtb Exp $ --- cf/aclocal.m4.orig Thu Jan 11 07:20:36 2001 +++ cf/aclocal.m4 @@ -447,7 +447,7 @@ define([ADD_TO_LIBS],[ LIBSW="" if test "$1" != "default"; then - LIBSW="-L$1" + LIBSW="-Wl,-R$1 -L$1" fi for dir in $$4; do if test "$1" = "$dir"; then