Browse Source

postgresql: set include path to fix building contribs

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
lilik-openwrt-22.03
Daniel Golle 7 years ago
parent
commit
c2d1bc7ae7
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libs/postgresql/Makefile

+ 2
- 0
libs/postgresql/Makefile 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)"


Loading…
Cancel
Save