mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-27 12:26:24 +00:00
Tuning test
This commit is contained in:
1 parent
909ebad276
commit
629e55f97d
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -21,4 +21,4 @@ addons:
|
||||
apt:
|
||||
packages: libmbedtls-dev
|
||||
homebrew:
|
||||
packages: mbedtls
|
||||
packages: mbedtls jq
|
||||
@@ -15,12 +15,12 @@ EXAMPLE_TARGET ?= example
|
||||
.PHONY: $(EXAMPLES)
|
||||
|
||||
ifeq "$(SSL)" "MBEDTLS"
|
||||
MBEDTLSDIR ?= /usr/local/Cellar/mbedtls/2.23.0
|
||||
CFLAGS += -DMG_ENABLE_MBEDTLS=1 -I$(MBEDTLSDIR)/include
|
||||
MBEDTLSDIR ?= $(shell "$(brew --cellar mbedtls)/$(brew info mbedtls --json | jq -j .[0].installed[0].version)")
|
||||
CFLAGS += -DMG_ENABLE_MBEDTLS=1 -I$(MBEDTLSDIR)/include -I/usr/include/mbedtls
|
||||
LDFLAGS ?= -L$(MBEDTLSDIR)/lib -lmbedtls -lmbedcrypto -lmbedx509
|
||||
endif
|
||||
ifeq "$(SSL)" "OPENSSL"
|
||||
OPENSSLDIR ?= /usr/local/Cellar/openssl@1.1/1.1.1g
|
||||
OPENSSLDIR ?= $(shell "$(brew --cellar openssl)/$(brew info openssl --json | jq -j .[0].installed[0].version)")
|
||||
CFLAGS += -DMG_ENABLE_OPENSSL=1 -I$(OPENSSLDIR)/include
|
||||
LDFLAGS ?= -L$(OPENSSLDIR)/lib -lssl -lcrypto
|
||||
endif
|
||||
|
||||
Reference in new issue
Block a user