From: Heiko Thiery Date: Fri, 7 May 2021 09:43:05 +0000 (+0200) Subject: package/dhcp: add host-gawk optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=085d20e5e684a83736897332a7ec9d3363ea3e51;p=buildroot.git package/dhcp: add host-gawk optional dependency On hosts where gawk is not available, it is not possible to build the package with server option (BR2_PACKAGE_DHCP_SERVER). The build goes through without errors but the binaries are not created and installed. The reason is that autotools cannot find gawk. Fixes: Bug 13781 Reported-by: Kay Jeschonneck Signed-off-by: Heiko Thiery Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index 988c7792dc..8d7157f357 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -55,6 +55,7 @@ define DHCP_INSTALL_LIBS endef ifeq ($(BR2_PACKAGE_DHCP_SERVER),y) +DHCP_DEPENDENCIES += host-gawk define DHCP_INSTALL_CTL_LIBS $(MAKE) -C $(@D)/dhcpctl install-exec DESTDIR=$(TARGET_DIR) endef