mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
Propagate with_system_tzdata setting into initdb build.
findtimezone.c needs to know this setting too. Per Peter Eisentraut.
This commit is contained in:
parent
8caf6132c7
commit
3f3304408c
@ -18,6 +18,11 @@ include $(top_builddir)/src/Makefile.global
|
|||||||
|
|
||||||
override CPPFLAGS := -DFRONTEND -I$(libpq_srcdir) -I$(top_srcdir)/src/timezone $(CPPFLAGS)
|
override CPPFLAGS := -DFRONTEND -I$(libpq_srcdir) -I$(top_srcdir)/src/timezone $(CPPFLAGS)
|
||||||
|
|
||||||
|
# use system timezone data?
|
||||||
|
ifneq (,$(with_system_tzdata))
|
||||||
|
override CPPFLAGS += '-DSYSTEMTZDIR="$(with_system_tzdata)"'
|
||||||
|
endif
|
||||||
|
|
||||||
OBJS= initdb.o findtimezone.o localtime.o encnames.o pqsignal.o $(WIN32RES)
|
OBJS= initdb.o findtimezone.o localtime.o encnames.o pqsignal.o $(WIN32RES)
|
||||||
|
|
||||||
all: initdb
|
all: initdb
|
||||||
|
Loading…
x
Reference in New Issue
Block a user