From: Daniel Golle Date: Tue, 20 Jun 2017 21:21:43 +0000 (+0200) Subject: postgresql: set include path to fix building contribs X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=c2d1bc7ae7de14d5d520dfd581fcc593e72a20dc;p=openwrt-packages.git postgresql: set include path to fix building contribs Signed-off-by: Daniel Golle --- diff --git a/libs/postgresql/Makefile b/libs/postgresql/Makefile index 1512f59ef..2d271a89b 100644 --- a/libs/postgresql/Makefile +++ b/libs/postgresql/Makefile @@ -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)"