gettext: depend on native build for bins/*.m4 files etc.

fixes #2161
This commit is contained in:
Tony Theodore 2018-06-30 03:11:30 +10:00
parent bdd03271d2
commit fc9a7b8413
1 changed files with 3 additions and 1 deletions

View File

@ -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