diff --git a/host/xtest/Makefile b/host/xtest/Makefile index bdab2f6bc..5a5087ee0 100644 --- a/host/xtest/Makefile +++ b/host/xtest/Makefile @@ -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