From c194d343fb63d79d7fb46cba6079c3ccd458ae53 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sat, 28 Nov 2020 11:04:03 +0100 Subject: [PATCH] package/s390-tools: also set HAVE_LIBCURL Set HAVE_LIBCURL when libcurl is available to enable genprotimg and libekmfweb: https://github.com/ibm-s390-tools/s390-tools/blob/master/README.md Signed-off-by: Fabrice Fontaine Reviewed-by: Alexander Egorenkov Signed-off-by: Peter Korsgaard --- package/s390-tools/s390-tools.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package/s390-tools/s390-tools.mk b/package/s390-tools/s390-tools.mk index 34750bea71..535caf208e 100644 --- a/package/s390-tools/s390-tools.mk +++ b/package/s390-tools/s390-tools.mk @@ -18,9 +18,13 @@ S390_TOOLS_MAKE_OPTS = \ ifeq ($(BR2_PACKAGE_LIBCURL),y) S390_TOOLS_DEPENDENCIES += libcurl -S390_TOOLS_MAKE_OPTS += HAVE_CURL=1 +S390_TOOLS_MAKE_OPTS += \ + HAVE_CURL=1 \ + HAVE_LIBCURL=1 else -S390_TOOLS_MAKE_OPTS += HAVE_CURL=0 +S390_TOOLS_MAKE_OPTS += \ + HAVE_CURL=0 \ + HAVE_LIBCURL=0 endif ifeq ($(BR2_PACKAGE_JSON_C),y)