From be1211d42ef2098015eda3a9f09992b9cfddba40 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Fri, 21 Sep 2018 19:33:44 +0900 Subject: [PATCH] add GMP_DIR path --- common.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common.mk b/common.mk index 3a82835..a05f5c9 100644 --- a/common.mk +++ b/common.mk @@ -17,6 +17,9 @@ ifeq ($(UNAME_S),Darwin) OPENSSL_DIR?=/usr/local/opt/openssl CFLAGS+=-I$(OPENSSL_DIR)/include LDFLAGS+=-L$(OPENSSL_DIR)/lib + GMP_DIR?=/usr/local/opt/gmp + CFLAGS+=-I$(GMP_DIR)/include + LDFLAGS+=-L$(GMP_DIR)/lib else LIB_SUF=so endif