]> granicus.if.org Git - icu/commitdiff
ICU-20871 Fixed: no rule was defined to create the $(OUTDIR) directory if it didn...
authorSmaarn <antoine.malliarakis@gmail.com>
Wed, 16 Oct 2019 20:52:05 +0000 (22:52 +0200)
committerShane F. Carr <shane@unicode.org>
Wed, 8 Jan 2020 14:42:35 +0000 (15:42 +0100)
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.

icu4c/source/data/Makefile.in

index d1fb80fe19b37853c44ae34bf50bcaf12e39ada3..e817ba40a7218e8bad25d1f65ce11e18dc453fd0 100644 (file)
@@ -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)