From 5ce237032bff95d073609a4229a6b8beed822f28 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 83b6337..7ef7919 100644 --- a/common.mk +++ b/common.mk @@ -131,7 +131,7 @@ ifeq ($(MCL_USE_GMP),1) endif endif ifeq ($(MCL_USE_OPENSSL),1) - OPENSSL_LIB=-lcrypto + OPENSSL_LIB=-L${OPENSSL_DIR}/lib -lcrypto ifeq ($(UNAME_S),Darwin) OPENSSL_DIR?=/usr/local/opt/openssl CFLAGS+=-I$(OPENSSL_DIR)/include