about summary refs log tree commit diff
path: root/timezone/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'timezone/Makefile')
-rw-r--r--timezone/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/timezone/Makefile b/timezone/Makefile
index d7acb387ba..cf4ef3bf7e 100644
--- a/timezone/Makefile
+++ b/timezone/Makefile
@@ -49,6 +49,13 @@ endif
 include ../Rules
 
 
+$(objpfx)zic.o: $(objpfx)tzdir.h
+
+# In glibc this file is an empty placeholder,
+# as tz-cflags defines TZDEFAULT and TZDIR.
+$(objpfx)tzdir.h:
+	> $@
+
 $(objpfx)zic.o $(objpfx)zdump.o: $(objpfx)version.h
 
 $(objpfx)version.h: $(common-objpfx)config.make