Fix compile and linking errors since last this code was tested
[ira/wip.git] / examples / libsmbclient / Makefile
index 6500707e75ca1e583de96c6c546ad9ffa6e8c157..26b80575fb6c7c3e9382e5e0bdaac4f8140bd5d5 100644 (file)
@@ -13,7 +13,7 @@ CFLAGS = -O0 -g -I$(SAMBA_INCL) $(EXTLIB_INCL) $(DEFS)
 LDFLAGS = -L/usr/local/samba/lib \
          -lldap -lkrb5 -lgssapi_krb5
 #LIBSMBCLIENT = /usr/local/samba/lib/libsmbclient.so
-LIBSMBCLIENT = -lsmbclient -ldl -lresolv
+LIBSMBCLIENT = -lwbclient -lsmbclient -ldl -lresolv
 
 TESTS= testsmbc \
        testacl \