diff options
| author | Peter Eisentraut | 2009-01-05 10:25:59 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2009-01-05 10:25:59 +0000 |
| commit | c63b9b1ddc374ab52086d4a0e9469220f051371d (patch) | |
| tree | 249d66138ab5aa1d0beb2cc89278dc4ee90ec746 /src/timezone | |
| parent | 46866e92bd89f1e81a2dbe45a8c1997f23f452fa (diff) | |
When cross-compiling, allow and require an external zic program to be used
when --with-system-tzdata is not used.
initial patch by Richard Evans
Diffstat (limited to 'src/timezone')
| -rw-r--r-- | src/timezone/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timezone/Makefile b/src/timezone/Makefile index bd9a5f46940..1a5fc06d446 100644 --- a/src/timezone/Makefile +++ b/src/timezone/Makefile @@ -4,7 +4,7 @@ # Makefile for the timezone library # IDENTIFICATION -# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.29 2008/02/19 15:29:58 petere Exp $ +# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.30 2009/01/05 10:25:59 petere Exp $ # #------------------------------------------------------------------------- @@ -43,7 +43,7 @@ zic: $(ZICOBJS) install: all installdirs ifeq (,$(with_system_tzdata)) - ./zic -d '$(DESTDIR)$(datadir)/timezone' -p '$(POSIXRULES)' $(TZDATAFILES) + $(if $(ZIC),$(ZIC),./zic) -d '$(DESTDIR)$(datadir)/timezone' -p '$(POSIXRULES)' $(TZDATAFILES) endif $(MAKE) -C tznames $@ |
