From 60900de5e98afd9205295d3e954e746a5dc45cb0 Mon Sep 17 00:00:00 2001 From: Ingo Franzki Date: Thu, 22 Oct 2020 10:08:15 +0200 Subject: [PATCH] zkey: Skip build of zkey-ekmfweb.so if libekmfweb dependencies are missing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit zkey-ekmfweb.so requires libekmfweb.so. If libekmfweb.so can not be built due to missing build requirements, then zkey-ekmfweb.so can't be built either. Signed-off-by: Ingo Franzki Signed-off-by: Jan Höppner --- zkey/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/zkey/Makefile b/zkey/Makefile index ccb37fc8..80c480e5 100644 --- a/zkey/Makefile +++ b/zkey/Makefile @@ -3,7 +3,11 @@ include ../common.mak ifneq (${HAVE_OPENSSL},0) BUILD_TARGETS += zkey INSTALL_TARGETS += install-zkey - SUB_DIRS += ekmfweb + ifneq (${HAVE_JSONC},0) + ifneq (${HAVE_LIBCURL},0) + SUB_DIRS += ekmfweb + endif + endif else BUILD_TARGETS += zkey-skip INSTALL_TARGETS += zkey-skip