Update libsmbclient examples to match new libraries
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>
Fri, 30 May 2008 14:24:55 +0000 (10:24 -0400)
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>
Fri, 30 May 2008 14:24:55 +0000 (10:24 -0400)
- talloc and tdb have been moved to separate libraries.  Link with those.

Derrell

examples/libsmbclient/Makefile
examples/libsmbclient/smbwrapper/Makefile

index a50e80a9189e87d1f454ba8f639fa89715900e85..7415f4f07ec1d753fd706dadd12238757eb470c9 100644 (file)
@@ -13,7 +13,7 @@ CFLAGS = -O0 -g $(SAMBA_INCL) $(EXTLIB_INCL) $(DEFS)
 LDFLAGS = -L/usr/local/samba/lib \
          -lldap -lkrb5 -lgssapi_krb5
 #LIBSMBCLIENT = /usr/local/samba/lib/libsmbclient.so
-LIBSMBCLIENT = -lwbclient -lsmbclient -ldl -lresolv
+LIBSMBCLIENT = -lwbclient -lsmbclient -ltalloc -ltdb -ldl -lresolv
 
 TESTS= testsmbc \
        testacl \
index 726435319f89eb3ba14174718f37894a6efecafa..7f5c17c79f60175b1979e13d11dd8918d5d09301 100644 (file)
@@ -1,4 +1,4 @@
-LIBS = -lwbclient -lsmbclient -ldl
+LIBS = -lwbclient -lsmbclient -ltalloc -ltdb -ldl
 DEFS = -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
 
 CFLAGS = -I$(SAMBA_INCL) $(EXTLIB_INCL)