aboutsummaryrefslogtreecommitdiff
path: root/libs/postgresql
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2017-06-20 23:21:43 +0200
committerDaniel Golle <daniel@makrotopia.org>2017-06-20 23:21:43 +0200
commitc2d1bc7ae7de14d5d520dfd581fcc593e72a20dc (patch)
tree3b202ca97a129fd3774956eb383016b3c0a3f283 /libs/postgresql
parentd619064f8e0fe5cc965690b012c6f77980abf1bc (diff)
postgresql: set include path to fix building contribs
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'libs/postgresql')
-rw-r--r--libs/postgresql/Makefile2
1 files changed, 2 insertions, 0 deletions
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)"