Skip to content

Commit

Permalink
openssl: add option to provide the openssl 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 compilation of xtest.

Signed-off-by: Davidson Kumaresan <[email protected]>
  • Loading branch information
davidson-k committed Apr 10, 2024
1 parent 526d5ba commit 14ceb42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 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

0 comments on commit 14ceb42

Please sign in to comment.