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
parent
e058568cf9
commit
b2b2f5dbd8
8
Makefile
8
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue