These tools aren't compiled in that case.

Signed-off-by: Nikos Mavrogiannopoulos <n...@gnutls.org>
---
 libs/gnutls/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libs/gnutls/Makefile b/libs/gnutls/Makefile
index 997532b..9544ffb 100644
--- a/libs/gnutls/Makefile
+++ b/libs/gnutls/Makefile
@@ -190,10 +190,12 @@ endef
 
 define Package/gnutls-utils/install
        $(INSTALL_DIR) $(1)/usr/bin
+ifeq ($(CONFIG_GNUTLS_OCSP),y)
+ifeq ($(CONFIG_GNUTLS_ANON),y)
        $(CP) \
                $(PKG_INSTALL_DIR)/usr/bin/gnutls-{cli,serv} \
                $(1)/usr/bin/
-ifeq ($(CONFIG_GNUTLS_OCSP),y)
+endif
        $(CP) \
                $(PKG_INSTALL_DIR)/usr/bin/ocsptool \
                $(1)/usr/bin/
-- 
1.9.2
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to