projects
/
postgresql
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8caf613
)
Propagate with_system_tzdata setting into initdb build.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Tue, 13 Sep 2011 14:58:06 +0000
(10:58 -0400)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Tue, 13 Sep 2011 14:58:06 +0000
(10:58 -0400)
findtimezone.c needs to know this setting too. Per Peter Eisentraut.
src/bin/initdb/Makefile
patch
|
blob
|
history
diff --git
a/src/bin/initdb/Makefile
b/src/bin/initdb/Makefile
index 8bd1e6d3a9e5b8213678be77f1f5aa1f13db4a94..fee99bb31de35eeb476327e0baab7591e526e302 100644
(file)
--- a/
src/bin/initdb/Makefile
+++ b/
src/bin/initdb/Makefile
@@
-18,6
+18,11
@@
include $(top_builddir)/src/Makefile.global
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)
all: initdb