aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2018-09-21 18:33:44 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2018-09-21 18:33:44 +0800
commitbe1211d42ef2098015eda3a9f09992b9cfddba40 (patch)
treef58f65440258759927b84b2ccac0b653e2e2c4ac
parentac4366e85ed9043cfd7168c3e929183596be18d7 (diff)
downloadtangerine-mcl-be1211d42ef2098015eda3a9f09992b9cfddba40.tar.gz
tangerine-mcl-be1211d42ef2098015eda3a9f09992b9cfddba40.tar.zst
tangerine-mcl-be1211d42ef2098015eda3a9f09992b9cfddba40.zip
add GMP_DIR path
-rw-r--r--common.mk3
1 files changed, 3 insertions, 0 deletions
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