summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>2008-05-30 10:24:55 -0400
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>2008-05-30 10:24:55 -0400
commitcf4b2f4d24a69234cbc62f367dece28446b6bac5 (patch)
tree21377768d81b00ca1a43d068704893c8fd4edbed /examples
parent4f0626ee0945a79c484746b3ab4beae9e01348c9 (diff)
downloadsamba-cf4b2f4d24a69234cbc62f367dece28446b6bac5.tar.gz
Update libsmbclient examples to match new libraries
- talloc and tdb have been moved to separate libraries. Link with those. Derrell (This used to be commit e4060ad864ec9d4e9092a832c3c664ee31b6125a)
Diffstat (limited to 'examples')
-rw-r--r--examples/libsmbclient/Makefile2
-rw-r--r--examples/libsmbclient/smbwrapper/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/libsmbclient/Makefile b/examples/libsmbclient/Makefile
index a50e80a9189..7415f4f07ec 100644
--- a/examples/libsmbclient/Makefile
+++ b/examples/libsmbclient/Makefile
@@ -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 \
diff --git a/examples/libsmbclient/smbwrapper/Makefile b/examples/libsmbclient/smbwrapper/Makefile
index 726435319f8..7f5c17c79f6 100644
--- a/examples/libsmbclient/smbwrapper/Makefile
+++ b/examples/libsmbclient/smbwrapper/Makefile
@@ -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)