Add /usr/local/{include,lib} to CPPFLAGS/LDFLAGS - dedup - deduplicating backup program
HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit e5a0b651bfa86129be13be7a3bf5fe65f0700338
DIR parent 0aab9028e974842e523f3e9ccfd06e9949c32efb
HTML Author: sin <sin@2f30.org>
Date: Thu, 25 Apr 2019 14:18:02 +0100
Add /usr/local/{include,lib} to CPPFLAGS/LDFLAGS
Makes it compile on *BSD without changing config.mk.
Diffstat:
M config.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
DIR diff --git a/config.mk b/config.mk
@@ -2,4 +2,5 @@ VERSION = 1.0
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/man
-CPPFLAGS = -D_FILE_OFFSET_BITS=64
+CPPFLAGS = -I/usr/local/include -D_FILE_OFFSET_BITS=64
+LDFLAGS = -L/usr/local/lib