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

Lines changed: 5 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy