Allow kore to build with openssl from osx brew.

This commit is contained in:
Joris Vink 2014-10-13 11:53:56 +02:00
parent 2b2e765fe6
commit b668125ff7
1 changed files with 2 additions and 2 deletions

View File

@ -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