diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2018-11-29 10:21:45 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2018-11-29 10:21:45 +0800 |
commit | 75cc396b57a31336f44f104116456b7450a5b0b9 (patch) | |
tree | 255410f09f0386b13083d6f90ea37172cdb6f6c5 /Makefile | |
parent | e9d5952ea046f29896329068e16f9526eddef04c (diff) | |
download | dexon-bls-75cc396b57a31336f44f104116456b7450a5b0b9.tar dexon-bls-75cc396b57a31336f44f104116456b7450a5b0b9.tar.gz dexon-bls-75cc396b57a31336f44f104116456b7450a5b0b9.tar.bz2 dexon-bls-75cc396b57a31336f44f104116456b7450a5b0b9.tar.lz dexon-bls-75cc396b57a31336f44f104116456b7450a5b0b9.tar.xz dexon-bls-75cc396b57a31336f44f104116456b7450a5b0b9.tar.zst dexon-bls-75cc396b57a31336f44f104116456b7450a5b0b9.zip |
support MCL_USE_GMP=0
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -44,9 +44,10 @@ $(BLS384_256_LIB): $(OBJ_DIR)/bls_c384_256.o $(AR) $@ $< ifneq ($(findstring $(OS),mac/mingw64),) - BLS256_SLIB_LDFLAGS+=-lgmpxx -lgmp -lcrypto -lstdc++ - BLS384_SLIB_LDFLAGS+=-lgmpxx -lgmp -lcrypto -lstdc++ - BLS384_256_SLIB_LDFLAGS+=-lgmpxx -lgmp -lcrypto -lstdc++ + COMMON_LIB=$(GMP_LIB) $(OPENSSL_LIB) -lstdc++ + BLS256_SLIB_LDFLAGS+=$(COMMON_LIB) + BLS384_SLIB_LDFLAGS+=$(COMMON_LIB) + BLS384_256_SLIB_LDFLAGS+=$(COMMON_LIB) endif ifeq ($(OS),mingw64) CFLAGS+=-I$(MCL_DIR) |