Change order of flags in Makefile so that crackcheck builds under Ubuntu
authorBrian Candler <b.candler@pobox.com>
Thu, 14 Dec 2017 20:39:09 +0000 (20:39 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 14 Dec 2018 03:13:38 +0000 (04:13 +0100)
Signed-off-by: Brian Candler <b.candler@pobox.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Dec 14 04:13:38 CET 2018 on sn-devel-144

examples/auth/crackcheck/Makefile

index 84377aa..edc7645 100644 (file)
@@ -15,7 +15,7 @@ OBJS = crackcheck.o
 LIBS = -lcrack
 
 crackcheck: $(OBJS)
-       $(CC) $(CFLAGS) $(LIBS) -o crackcheck $(OBJS)
+       $(CC) $(CFLAGS) -o crackcheck $(OBJS) $(LIBS)
 
 clean:
        rm -f core *.o crackcheck