add GMP_DIR path

dev
MITSUNARI Shigeo 6 years ago
parent ac4366e85e
commit be1211d42e
  1. 3
      common.mk

@ -17,6 +17,9 @@ ifeq ($(UNAME_S),Darwin)
OPENSSL_DIR?=/usr/local/opt/openssl OPENSSL_DIR?=/usr/local/opt/openssl
CFLAGS+=-I$(OPENSSL_DIR)/include CFLAGS+=-I$(OPENSSL_DIR)/include
LDFLAGS+=-L$(OPENSSL_DIR)/lib LDFLAGS+=-L$(OPENSSL_DIR)/lib
GMP_DIR?=/usr/local/opt/gmp
CFLAGS+=-I$(GMP_DIR)/include
LDFLAGS+=-L$(GMP_DIR)/lib
else else
LIB_SUF=so LIB_SUF=so
endif endif

Loading…
Cancel
Save