Sync with HEAD. The -L/usr/local/lib bit looks a bit dodgy though.
[tprouty/samba.git] / examples / libsmbclient / Makefile
index 8c1def8a162a705fcc68f5bf79408a07f070e2a7..5fe9977c0ae1bc0885bb06683dd8a2fdad88e1de 100644 (file)
@@ -11,7 +11,7 @@ all: testsmbc tree
 
 testsmbc: testsmbc.o 
        @echo Linking testsmbc
-       @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -lsmbclient
+       @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -lsmbclient -L/usr/local/lib
 
 testsmbc-static: testsmbc.o 
        @echo Linking testsmbc