libsmbclient examples: source/bin to the library search path for smbwrapper build
[nivanova/samba-autobuild/.git] / examples / libsmbclient / smbwrapper / Makefile
index 7f5c17c79f60175b1979e13d11dd8918d5d09301..eb470056e1cb2917173b7e8e799c08d81d9cb89c 100644 (file)
@@ -3,7 +3,7 @@ DEFS = -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
 
 CFLAGS = -I$(SAMBA_INCL) $(EXTLIB_INCL)
 
-LDFLAGS = -L/usr/local/samba/lib
+LDFLAGS = -L/usr/local/samba/lib -L../../../source/bin
 
 SMBINCLUDE = -I../../../source/include
 CFLAGS= -fpic -g -O0 $(DEFS) $(SMBINCLUDE)