$NetBSD: patch-aa,v 1.4 2009/03/16 13:06:40 jmcneill Exp $ --- configure.orig 2008-09-24 14:29:37.000000000 +0200 +++ configure @@ -18337,7 +18337,7 @@ _ACEOF msg_samba="yes" if test x$with_samba_libs != x/usr/lib; then - SAMBA_LIBS="-L$with_samba_libs -lsmbclient" + SAMBA_LIBS="-L$with_samba_libs -lsmbclient -Wl,-R$with_samba_libs" else SAMBA_LIBS="-lsmbclient" fi