commit b668125ff7613704037a5adce5259a0b79cb8366
parent 2b2e765fe60a2d25f677cf7df3668d4f10c5a0dd
Author: Joris Vink <joris@coders.se>
Date: Mon, 13 Oct 2014 11:53:56 +0200
Allow kore to build with openssl from osx brew.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -44,8 +44,8 @@ endif
OSNAME=$(shell uname -s | sed -e 's/[-_].*//g' | tr A-Z a-z)
ifeq ("$(OSNAME)", "darwin")
- CFLAGS+=-I/opt/local/include/
- LDFLAGS+=-L/opt/local/lib
+ CFLAGS+=-I/opt/local/include/ -I/usr/local/opt/openssl/include
+ LDFLAGS+=-L/opt/local/lib -L/usr/local/opt/openssl/lib
S_SRC+=src/bsd.c
else ifeq ("$(OSNAME)", "linux")
CFLAGS+=-D_GNU_SOURCE=1