package/iputils: add support for libgcrypt

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Martin Bark 2016-02-25 13:23:34 +00:00 committed by Thomas Petazzoni
parent 73b56118f2
commit ca99ed1802

View 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