From c2d1bc7ae7de14d5d520dfd581fcc593e72a20dc Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Tue, 20 Jun 2017 23:21:43 +0200 Subject: [PATCH] postgresql: set include path to fix building contribs Signed-off-by: Daniel Golle --- libs/postgresql/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/postgresql/Makefile b/libs/postgresql/Makefile index 1512f59ef2..2d271a89b9 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)" -- 2.30.2