package/s390-tools: also set HAVE_LIBCURL
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 28 Nov 2020 10:04:03 +0000 (11:04 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 1 Dec 2020 21:52:34 +0000 (22:52 +0100)
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 <fontaine.fabrice@gmail.com>
Reviewed-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/s390-tools/s390-tools.mk

index 34750bea713cb969b4b95d871ddd6c957382ff86..535caf208e4457e51df55986fdeff3dd349eab9b 100644 (file)
@@ -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)