diff --git a/configure b/configure index e1f5ce02c7..2a7abc1d52 100755 --- a/configure +++ b/configure @@ -2695,6 +2695,9 @@ echores "$_macosx" echocheck "Samba support (libsmbclient)" +if test "$_smbsupport" = yes; then + _ld_smb="-lsmbclient" +fi if test "$_smbsupport" = auto; then _smbsupport=no cat > $TMPC << EOF