Do not use Apple's OpenSSL version

Apple is shipping an old version of OpenSSL (0.9.8zh) and without the
headers. This aims to fix #10.
pull/11/head
nashe 2017-05-14 19:17:24 +02:00
parent e058568cf9
commit b2b2f5dbd8
1 changed files with 8 additions and 0 deletions

View File

@ -27,6 +27,14 @@ CFLAGS += -finline-functions
DEBUGFLAGS += -g -rdynamic
ifneq ($(OS),Windows_NT)
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
LIBS += -L/usr/local/opt/openssl/lib
CFLAGS += -I/usr/local/opt/openssl/include
endif
endif
CC ?= cc
INSTALL ?= install -c -o root -g bin -m 755
RM ?= /bin/rm -f