From: Smaarn Date: Wed, 16 Oct 2019 20:52:05 +0000 (+0200) Subject: ICU-20871 Fixed: no rule was defined to create the $(OUTDIR) directory if it didn... X-Git-Tag: release-67-rc~121 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=996da8faac301370ab4ad102db5e465939da73a3;p=icu ICU-20871 Fixed: no rule was defined to create the $(OUTDIR) directory if it didn't exist. This would cause failures during cross compilation cases such as: make[6]: Leaving directory '/spksrc/spk/bazarr/work-qoriq-6.1/icu/source/data' make[5]: *** No rule to make target 'out', needed by 'out/icudt64b.dat'. Stop. --- diff --git a/icu4c/source/data/Makefile.in b/icu4c/source/data/Makefile.in index d1fb80fe19b..e817ba40a72 100644 --- a/icu4c/source/data/Makefile.in +++ b/icu4c/source/data/Makefile.in @@ -150,6 +150,10 @@ ifneq ($(ICUDATA_ARCHIVE),) ICUDATA_SOURCE_ARCHIVE = $(OUTDIR)/$(ICUDATA_PLATFORM_NAME).dat $(ICUDATA_SOURCE_ARCHIVE): $(ICUDATA_ARCHIVE) $(OUTDIR) $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $(ICUDATA_ARCHIVE) $(ICUDATA_SOURCE_ARCHIVE) + +$(OUTDIR): + mkdir -p $(OUTDIR) + endif else ifneq ($(ENABLE_STATIC),YES)