[build] fix build error on Mac OS X

This is to fix the build error after Mac OS X upgrade.

Signed-off-by: Leo Chen <leo@harmony.one>
update-fork
Leo Chen 6 years ago committed by Ganesha Upadhyaya
parent d32e456fc8
commit 5ce237032b
  1. 2
      common.mk

@ -131,7 +131,7 @@ ifeq ($(MCL_USE_GMP),1)
endif endif
endif endif
ifeq ($(MCL_USE_OPENSSL),1) ifeq ($(MCL_USE_OPENSSL),1)
OPENSSL_LIB=-lcrypto OPENSSL_LIB=-L${OPENSSL_DIR}/lib -lcrypto
ifeq ($(UNAME_S),Darwin) ifeq ($(UNAME_S),Darwin)
OPENSSL_DIR?=/usr/local/opt/openssl OPENSSL_DIR?=/usr/local/opt/openssl
CFLAGS+=-I$(OPENSSL_DIR)/include CFLAGS+=-I$(OPENSSL_DIR)/include

Loading…
Cancel
Save