ICU-4908 Fix a build problem with --enable-static --with-data-packaging=archive

X-SVN-Rev: 18753
This commit is contained in:
George Rhoten 2005-11-02 17:09:40 +00:00
parent db2b1d1b3f
commit aaa8b02df6

View file

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