Fixes zic related build failure [1], patch suggested by
Yann E. MORIN [2].
[1] http://autobuild.buildroot.net/results/
9ec69f92a48c1adc50bdb3096008243d842c27e6/
[2] http://lists.busybox.net/pipermail/buildroot/2014-April/094767.html
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
ifeq ($(BR2_PACKAGE_TZDATA),y)
POSTGRESQL_DEPENDENCIES += tzdata
POSTGRESQL_CONF_OPT += --with-system-tzdata=/usr/share/zoneinfo
+else
+ POSTGRESQL_DEPENDENCIES += host-zic
+ POSTGRESQL_CONF_ENV += ZIC=$$(ZIC)
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)