Skip to content

Commit

Permalink
openssl: add option to provide the openssl library path
Browse files Browse the repository at this point in the history
Add a new variable to have the directory that contains the openssl
libraries needed for xtest. The build system will look for the
needed libraries specified in this variable during the linking of
xtest.

Signed-off-by: Davidson Kumaresan <davidson.kumaresan@arm.com>
  • Loading branch information
davidson-k committed Apr 9, 2024
1 parent 526d5ba commit 3a8bc3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion host/xtest/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ endef
WITH_OPENSSL ?= y
ifeq ($(WITH_OPENSSL),y)
CFLAGS += -DOPENSSL_FOUND=1 -DOPENSSL_API_COMPAT=10100
LDFLAGS += -lcrypto
LDFLAGS += -L$(OPENSSL_DIR)/lib -lcrypto
endif #require OpenSSL

srcs := regression_1000.c
Expand Down Expand Up @@ -107,6 +107,7 @@ CFLAGS += -I../supp_plugin/include
CFLAGS += -I$(out-dir)/xtest

CFLAGS += -I$(OPTEE_CLIENT_EXPORT)/include
CFLAGS += -I$(OPENSSL_DIR)/include
CFLAGS += -I$(TA_DEV_KIT_DIR)/host_include

CFLAGS += -I../../ta/include
Expand Down

0 comments on commit 3a8bc3f

Please sign in to comment.