Merge branch 'nashe-patch-apple-openssl-build'

This commit is contained in:
Lars Boegild Thomsen 2017-05-31 15:31:49 +08:00
commit 653c97f28f
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