Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3f33044

Browse files
committed
Propagate with_system_tzdata setting into initdb build.
findtimezone.c needs to know this setting too. Per Peter Eisentraut.
1 parent 8caf613 commit 3f33044

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/bin/initdb/Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ include $(top_builddir)/src/Makefile.global
1818

1919
override CPPFLAGS := -DFRONTEND -I$(libpq_srcdir) -I$(top_srcdir)/src/timezone $(CPPFLAGS)
2020

21+
# use system timezone data?
22+
ifneq (,$(with_system_tzdata))
23+
override CPPFLAGS += '-DSYSTEMTZDIR="$(with_system_tzdata)"'
24+
endif
25+
2126
OBJS= initdb.o findtimezone.o localtime.o encnames.o pqsignal.o $(WIN32RES)
2227

2328
all: initdb

0 commit comments

Comments
 (0)