summaryrefslogtreecommitdiff
path: root/tools/makefile
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2012-07-24 18:29:56 (GMT)
committerJohn Denker <jsd@av8n.com>2012-07-29 22:32:37 (GMT)
commit02bfae1f87c4693eb00bf943fb24886a5ac47a09 (patch)
tree0710480025ad6d8014283317386567d732a37534 /tools/makefile
parente2390efc92d66a50c6ce13d027aac8c6ecc02e89 (diff)
improve compatibility across boost versions;
allow use by non-superuser
Diffstat (limited to 'tools/makefile')
-rw-r--r--tools/makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/makefile b/tools/makefile
index 08bf17c..76df23b 100644
--- a/tools/makefile
+++ b/tools/makefile
@@ -38,12 +38,13 @@ show:
: --- $(qprogs) +++ $(moreprogs)
greylist: greylist.o
- $(CC) $< -lboost_filesystem-mt -o $@
+ $(CC) $< -lboost_filesystem-mt -lboost_system -o $@
+
+# $(CC) $< -lboost_filesystem -o $@
wripper: wripper.o
$(CC) $< -o $@
- chgrp daemon $@
- chmod g+s $@
+ chgrp daemon $@ && chmod g+s $@ || true
mail-scan: mail-scan.o
$(CC) $< -lboost_regex -o $@