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
commite4060ad864ec9d4e9092a832c3c664ee31b6125a (patch)
tree8410d492bce8376a77d034c6aeff507ffb4b76c4 /examples
parent3b31f8cce3703645a57778bc752bc9b9e853df5d (diff)
downloadsamba-e4060ad864ec9d4e9092a832c3c664ee31b6125a.tar.gz
Update libsmbclient examples to match new libraries
- talloc and tdb have been moved to separate libraries. Link with those. Derrell
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)