From f5923af1c6872669b460c12f07e210fa345ba406 Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Fri, 15 Jul 2016 22:33:58 +0200 Subject: [PATCH] Add /usr/local/[include|lib] for BSD / JSONRPC. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 24b3bc3..b3db827 100644 --- 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)