From fb5d1d89931adf9e8620d960112a6d496efc9bc7 Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Sun, 26 May 2019 15:02:08 -0700 Subject: [PATCH] [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 --- common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.mk b/common.mk index 5c749e1..4fb0ef8 100644 --- a/common.mk +++ b/common.mk @@ -109,7 +109,7 @@ ifeq ($(MCL_USE_GMP),1) GMP_LIB=-lgmp -lgmpxx endif ifeq ($(MCL_USE_OPENSSL),1) - OPENSSL_LIB=-lcrypto + OPENSSL_LIB=-L${OPENSSL_DIR}/lib -lcrypto endif LDFLAGS+=$(GMP_LIB) $(OPENSSL_LIB) $(BIT_OPT) $(LDFLAGS_USER)