commit f5923af1c6872669b460c12f07e210fa345ba406
parent 6ba8dd439bf9b424a23a29f86b9f5db467fb95a6
Author: Joris Vink <joris@coders.se>
Date: Fri, 15 Jul 2016 22:33:58 +0200
Add /usr/local/[include|lib] for BSD / JSONRPC.
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -77,6 +77,10 @@ else ifeq ("$(OSNAME)", "linux")
S_SRC+=src/linux.c
else
S_SRC+=src/bsd.c
+ ifneq ("$(JSONRPC)", "")
+ CFLAGS=-I/usr/local/include
+ LDFLAGS+=-L/usr/local/lib
+ endif
endif
S_OBJS= $(S_SRC:src/%.c=$(OBJDIR)/%.o)