BUILD: makefile: support WOLFSSL_CFLAGS and WOLFSSL_LDFLAGS
The CFLAGS and LDFLAGS appended by USE_WOLFSSL can now be overridden using WOLFSSL_CFLAGS and WOLFSSL_LDFLAGS.
This commit is contained in:
parent
e609ac1bbe
commit
7f48b6f1a4
6
Makefile
6
Makefile
|
@ -573,8 +573,10 @@ ifneq ($(USE_OPENSSL),)
|
|||
endif
|
||||
|
||||
ifneq ($(USE_OPENSSL_WOLFSSL),)
|
||||
OPTIONS_CFLAGS += $(if $(WOLFSSL_INC),-I$(WOLFSSL_INC) -I$(WOLFSSL_INC)/wolfssl)
|
||||
OPTIONS_LDFLAGS += $(if $(WOLFSSL_LIB),-L$(WOLFSSL_LIB)) -lwolfssl
|
||||
WOLFSSL_CFLAGS = $(if $(WOLFSSL_INC),-I$(WOLFSSL_INC) -I$(WOLFSSL_INC)/wolfssl)
|
||||
WOLFSSL_LDFLAGS = $(if $(WOLFSSL_LIB),-L$(WOLFSSL_LIB)) -lwolfssl
|
||||
OPTIONS_CFLAGS += $(WOLFSSL_CFLAGS)
|
||||
OPTIONS_LDFLAGS += $(WOLFSSL_LDFLAGS)
|
||||
endif
|
||||
|
||||
ifneq ($(USE_ENGINE),)
|
||||
|
|
Loading…
Reference in New Issue