diff --git a/icu4c/source/data/Makefile.in b/icu4c/source/data/Makefile.in index bcc65dc6a47..6b2430febf8 100644 --- a/icu4c/source/data/Makefile.in +++ b/icu4c/source/data/Makefile.in @@ -144,12 +144,14 @@ $(ICUDATA_SOURCE_ARCHIVE): $(ICUDATA_ARCHIVE) $(OUTDIR) $(INVOKE) $(BINDIR)/icuswap -t$(ICUDATA_CHAR) $(ICUDATA_ARCHIVE) $(ICUDATA_SOURCE_ARCHIVE) endif else +ifneq ($(ENABLE_STATIC),YES) ifeq ($(PKGDATA_MODE),common) # We have a source data common archive in the native endianess, # and it's what we want to build. Try to not run any of ICU's tools. ICUDATA_SOURCE_IS_NATIVE_TARGET=YES endif endif +endif # During this INVOKE we only want to use stubdata. # We don't want to try to write over files that we are using.