mirror of
https://github.com/curl/curl.git
synced 2026-08-25 13:53:37 +03:00
Makefile.mk: fix wolfssl and mbedtls default paths
Fix the defaults for `WOLFSSL_PATH` and `MBEDTLS_PATH` to have
meaningful values instead of the copy-pasted wrong ones.
Ref: 66e68ca47f (r94275172)
Reported-by: Ryan Schmidt
Closes #10164
This commit is contained in:
parent
9566372a8d
commit
692c73707a
1 changed files with 2 additions and 2 deletions
|
|
@ -198,7 +198,7 @@ ifneq ($(findstring -ssl,$(CFG)),)
|
|||
endif
|
||||
SSLLIBS += 1
|
||||
else ifneq ($(findstring -wolfssl,$(CFG)),)
|
||||
WOLFSSL_PATH ?= $(PROOT)/../zlib
|
||||
WOLFSSL_PATH ?= $(PROOT)/../wolfssl
|
||||
CPPFLAGS += -DUSE_WOLFSSL
|
||||
CPPFLAGS += -DSIZEOF_LONG_LONG=8
|
||||
CPPFLAGS += -I"$(WOLFSSL_PATH)/include"
|
||||
|
|
@ -208,7 +208,7 @@ else ifneq ($(findstring -wolfssl,$(CFG)),)
|
|||
SSLLIBS += 1
|
||||
endif
|
||||
ifneq ($(findstring -mbedtls,$(CFG)),)
|
||||
MBEDTLS_PATH ?= $(PROOT)/../zlib
|
||||
MBEDTLS_PATH ?= $(PROOT)/../mbedtls
|
||||
CPPFLAGS += -DUSE_MBEDTLS
|
||||
CPPFLAGS += -I"$(MBEDTLS_PATH)/include"
|
||||
_LDFLAGS += -L"$(MBEDTLS_PATH)/lib"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue