From fc9a7b8413376ad4fd246664775b9456806fc882 Mon Sep 17 00:00:00 2001
From: Tony Theodore <tonyt@logyst.com>
Date: Sat, 30 Jun 2018 03:11:30 +1000
Subject: gettext: depend on native build for bins/*.m4 files etc.

fixes #2161
---
 src/gettext.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/gettext.mk b/src/gettext.mk
index b15f368..6cb78e2 100644
--- a/src/gettext.mk
+++ b/src/gettext.mk
@@ -9,7 +9,9 @@ $(PKG)_SUBDIR   := gettext-$($(PKG)_VERSION)
 $(PKG)_FILE     := gettext-$($(PKG)_VERSION).tar.gz
 $(PKG)_URL      := https://ftp.gnu.org/gnu/gettext/$($(PKG)_FILE)
 $(PKG)_URL_2    := https://ftpmirror.gnu.org/gettext/$($(PKG)_FILE)
-$(PKG)_DEPS     := cc libiconv
+# native gettext isn't technically required, but downstream
+# cross-packages may need binaries and/or *.m4 files etc.
+$(PKG)_DEPS     := cc libiconv $(BUILD)~$(PKG)
 
 $(PKG)_TARGETS       := $(BUILD) $(MXE_TARGETS)
 $(PKG)_DEPS_$(BUILD) := libiconv
-- 
cgit v0.12