summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2012-07-24 11:29:56 -0700
committerJohn Denker <jsd@av8n.com>2012-07-29 15:32:37 -0700
commit02bfae1f87c4693eb00bf943fb24886a5ac47a09 (patch)
tree0710480025ad6d8014283317386567d732a37534
parente2390efc92d66a50c6ce13d027aac8c6ecc02e89 (diff)
improve compatibility across boost versions;
allow use by non-superuser
-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 $@