diff -urN gnome-vfs-2.24.4/configure.in ../../SUNWgnome-vfs-2.24.4.hacked/i386/gnome-vfs-2.24.4/configure.in --- gnome-vfs-2.24.4/configure.in 2012-03-22 12:06:56.191331531 +0000 +++ ../../SUNWgnome-vfs-2.24.4.hacked/i386/gnome-vfs-2.24.4/configure.in 2012-03-22 12:10:14.027042379 +0000 @@ -566,7 +566,7 @@ AC_DEFINE(HAVE_SAMBA,, [Define to 1 if you have the samba 3.0 libraries]) msg_samba="yes" if test x$with_samba_libs != x/usr/lib; then - SAMBA_LIBS="-L$with_samba_libs -lsmbclient" + SAMBA_LIBS="-R$with_samba_libs -L$with_samba_libs -lsmbclient" else SAMBA_LIBS="-lsmbclient" fi