[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>
pull/3/head
Leo Chen 6 years ago
parent eb31510777
commit fb5d1d8993
  1. 2
      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)

Loading…
Cancel
Save