diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2018-09-20 19:38:23 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2018-09-20 19:38:23 +0800 |
commit | ac4366e85ed9043cfd7168c3e929183596be18d7 (patch) | |
tree | 0951d9704f8a635113aefffd39b727d10d179d3c | |
parent | 20a39f9eb358c9f830c9c3d0a49ec3a41baf1031 (diff) | |
download | tangerine-mcl-ac4366e85ed9043cfd7168c3e929183596be18d7.tar.gz tangerine-mcl-ac4366e85ed9043cfd7168c3e929183596be18d7.tar.zst tangerine-mcl-ac4366e85ed9043cfd7168c3e929183596be18d7.zip |
use OPENSSL_DIR if necessary
-rw-r--r-- | common.mk | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -14,8 +14,9 @@ ifeq ($(UNAME_S),Darwin) OS=mac ARCH=x86_64 LIB_SUF=dylib - CFLAGS+=-I/usr/local/opt/openssl/include - LDFLAGS+=-L/usr/local/opt/openssl/lib + OPENSSL_DIR?=/usr/local/opt/openssl + CFLAGS+=-I$(OPENSSL_DIR)/include + LDFLAGS+=-L$(OPENSSL_DIR)/lib else LIB_SUF=so endif |