Content-Length: 262054 | pFad | http://github.com/postgrespro/postgres/commit/3f3304408cb103745ee0722d303c526594a8046c

03 Propagate with_system_tzdata setting into initdb build. · postgrespro/postgres@3f33044 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/3f3304408cb103745ee0722d303c526594a8046c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy