package/iputils: add support for libgcrypt
authorMartin Bark <martin@barkynet.com>
Thu, 25 Feb 2016 13:23:34 +0000 (13:23 +0000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 25 Feb 2016 20:36:49 +0000 (21:36 +0100)
Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/iputils/iputils.mk

index efedf1fe795d2ae9a2a0b345f607f0ba51c5199b..92e2bc938fdc06b3215c68c28ac2df4e9f71a003 100644 (file)
@@ -33,6 +33,13 @@ else
 IPUTILS_MAKE_OPTS += USE_CAP=no
 endif
 
+ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
+IPUTILS_MAKE_OPTS += USE_GCRYPT=yes
+IPUTILS_DEPENDENCIES += libgcrypt
+else
+IPUTILS_MAKE_OPTS += USE_GCRYPT=no
+endif
+
 ifeq ($(BR2_PACKAGE_NETTLE),y)
 IPUTILS_MAKE_OPTS += USE_NETTLE=yes
 IPUTILS_DEPENDENCIES += nettle