From 6e5977094ecc616558d46fea5bfea9df1934d3da Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Tue, 22 Oct 2019 23:58:12 +0200 Subject: [PATCH] libxml2/host: revert xml2-config prefix fix Commit 218f0229a4594b32d9db6ad0678cdce7e2663e27 added a workaround for a problem. The host compile overwrote xml2-config in "$(STAGING_DIR)/host/bin". The workaround fixed the issue for regular target packages. But it didn't leave a proper xml2-config script for host packages. Times have changed. Host packages are now installed in "$(STAGING_DIR_HOSTPKG). So there is no longer any danger of the host package overwriting the xml2-config script for target packages. So revert the mentioned commit, leaving us with two proper xml2-config scripts, one for target package builds and one for host package builds. Signed-off-by: Sebastian Kemper --- libs/libxml2/Makefile | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libs/libxml2/Makefile b/libs/libxml2/Makefile index 445044e10..328baa643 100644 --- a/libs/libxml2/Makefile +++ b/libs/libxml2/Makefile @@ -133,10 +133,5 @@ define Package/libxml2/install $(CP) $(PKG_INSTALL_DIR)/usr/lib/libxml2.so* $(1)/usr/lib/ endef -define Host/Install - $(SED) 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' $(HOST_BUILD_DIR)/xml2-config - $(call Host/Install/Default) -endef - $(eval $(call HostBuild)) $(eval $(call BuildPackage,libxml2))