gnutls: Do not try to install gnutls-cli or server when OCSP is disabled.
These tools aren't compiled in that case. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> [florian: fix subject] Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@40796 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
dbfb6d356e
commit
20bf6855d8
@ -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/
|
||||
|
Loading…
x
Reference in New Issue
Block a user