postgresql: add HOST_BUILD_DEPENDS:=zlib/host
authorDaniel Golle <daniel@makrotopia.org>
Thu, 7 Mar 2019 12:06:26 +0000 (13:06 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 7 Mar 2019 12:06:26 +0000 (13:06 +0100)
spotted on buildbot trying postgresql/host build:
configure: error: zlib library not found

Fix this by adding zlib/host to HOST_BUILD_DEPENDS.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
libs/postgresql/Makefile

index 9610017ea6185a12b2f2e99b2593132b16c300cc..14be65583832bc01d0fcb2d2c489db334fdd6320 100644 (file)
@@ -21,7 +21,8 @@ PKG_HASH:=2e8c8446ba94767bda8a26cf5a2152bf0ae68a86aaebf894132a763084579d84
 PKG_USE_MIPS16:=0
 PKG_FIXUP:=autoreconf
 PKG_MACRO_PATHS:=config
-PKG_BUILD_DEPENDS += readline/host postgresql/host
+PKG_BUILD_DEPENDS:=readline/host postgresql/host
+HOST_BUILD_DEPENDS:=zlib/host
 PKG_INSTALL:=1
 
 include $(INCLUDE_DIR)/host-build.mk