postgresql: set include path to fix building contribs

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2017-06-20 23:21:43 +02:00
parent d619064f8e
commit c2d1bc7ae7
1 changed files with 2 additions and 0 deletions

View File

@ -135,6 +135,8 @@ CONFIGURE_ARGS += \
--enable-depend \
$(if $(CONFIG_TARGET_avr32),--disable-spinlocks)
EXTRA_CFLAGS:= -I$(PKG_BUILD_DIR)/src/include/
# Need a native ecpg ,pg_config, and zic for build
define Host/Compile
$(MAKE) -C $(HOST_BUILD_DIR)/src/interfaces/ecpg/preproc CC="$(HOSTCC)"