|
|
@ -127,6 +127,11 @@ endif |
|
|
|
ifeq ($(MCL_USE_OPENSSL),1) |
|
|
|
ifeq ($(MCL_USE_OPENSSL),1) |
|
|
|
OPENSSL_LIB=-lcrypto
|
|
|
|
OPENSSL_LIB=-lcrypto
|
|
|
|
endif |
|
|
|
endif |
|
|
|
|
|
|
|
ifeq ($(MCL_STATIC_CODE),1) |
|
|
|
|
|
|
|
MCL_USE_XBYAK=0
|
|
|
|
|
|
|
|
MCL_MAX_BIT_SIZE=384
|
|
|
|
|
|
|
|
CFLAGS+=-DMCL_STATIC_CODE
|
|
|
|
|
|
|
|
endif |
|
|
|
LDFLAGS+=$(GMP_LIB) $(OPENSSL_LIB) $(BIT_OPT) $(LDFLAGS_USER)
|
|
|
|
LDFLAGS+=$(GMP_LIB) $(OPENSSL_LIB) $(BIT_OPT) $(LDFLAGS_USER)
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS+=-fPIC
|
|
|
|
CFLAGS+=-fPIC
|
|
|
|