]> git.saurik.com Git - apple/icu.git/blobdiff - makefile
ICU-531.48.tar.gz
[apple/icu.git] / makefile
index a2d181b3387b49dc0d778d78160f91adf2493d04..9f503e3e46ca50ff852435d62c557f01038e9ced 100644 (file)
--- a/makefile
+++ b/makefile
@@ -239,7 +239,9 @@ else
 endif
 
 # even for a crossbuild host build, we want to use the target's latest tzdata as pointed to by latest_tzdata.tar.gz
-export TZDATA:=$(SDKPATH)/usr/local/share/tz/$(shell readlink $(SDKPATH)/usr/local/share/tz/latest_tzdata.tar.gz)
+ifeq "$(shell test -d $(SDKPATH)/usr/local/share/tz && echo YES )" "YES"
+       export TZDATA:=$(SDKPATH)/usr/local/share/tz/$(shell readlink $(SDKPATH)/usr/local/share/tz/latest_tzdata.tar.gz)
+endif
 $(info # TZDATA=$(TZDATA))
 
 ifeq "$(WINDOWS)" "YES"