Host tools should go to host/bin, not usr/bin.

Signed-off-by: Paul Fertser <[email protected]>
---
 libs/postgresql/Makefile |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libs/postgresql/Makefile b/libs/postgresql/Makefile
index 37ae8f6..6307887 100644
--- a/libs/postgresql/Makefile
+++ b/libs/postgresql/Makefile
@@ -230,8 +230,8 @@ fi
 endef
 
 define Build/InstallDev
-       $(INSTALL_DIR) $(1)/usr/bin
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/bin/pg_config/pg_config.host 
$(1)/usr/bin/pg_config
+       $(INSTALL_DIR) $(1)/host/bin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/bin/pg_config/pg_config.host 
$(1)/host/bin/pg_config
        $(INSTALL_DIR) $(1)/usr/include
        $(CP) $(PKG_INSTALL_DIR)/usr/include/libpq $(1)/usr/include/
        $(CP) $(PKG_INSTALL_DIR)/usr/include/libpq-fe.h $(1)/usr/include/
@@ -241,8 +241,8 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/include/postgresql $(1)/usr/include/
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpq.{a,so*} $(1)/usr/lib/
-       $(CP) $(PKG_BUILD_DIR)/src/interfaces/ecpg/preproc/ecpg.host 
$(1)/usr/bin/ecpg
-       $(CP) $(PKG_BUILD_DIR)/host-zic $(1)/usr/bin/zic
+       $(CP) $(PKG_BUILD_DIR)/src/interfaces/ecpg/preproc/ecpg.host 
$(1)/host/bin/ecpg
+       $(CP) $(PKG_BUILD_DIR)/host-zic $(1)/host/bin/zic
 endef
 
 $(eval $(call BuildPackage,libpq))
-- 
1.7.9.5

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to