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-24 11:29:56 -0700
commitce0dbe5332d4eb921c09cc48cc52634211d7089a (patch)
treec1304a05985e09c576dec1a0b4ce592b7edaa337
parent0c7195dea3482bd4c9ac9fbff318c24c502574c6 (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 $@