Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@plntyk
Created February 20, 2016 11:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plntyk/73bcbc136d95960ea6a5 to your computer and use it in GitHub Desktop.
Save plntyk/73bcbc136d95960ea6a5 to your computer and use it in GitHub Desktop.
libxml2: fix config location
commit a028eb3b8bd27d1f11491e215298712a59a9f970
Author: Dirk Neukirchen <dirkneukirchen@web.de>
Date: Thu Jun 4 19:26:19 2015 +0200
libxml2: fix config location
use the normal staging_dir/target... location
like other config scripts
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
diff --git a/libs/libxml2/Makefile b/libs/libxml2/Makefile
index 8e09530..a3a1d6b 100644
--- a/libs/libxml2/Makefile
+++ b/libs/libxml2/Makefile
@@ -108,9 +108,9 @@ HOST_CONFIGURE_ARGS += \
--without-lzma
define Build/InstallDev
- $(INSTALL_DIR) $(2)/bin
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/xml2-config $(2)/bin/
- $(SED) 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' $(2)/bin/xml2-config
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/xml2-config $(1)/usr/bin/
+ $(SED) 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' $(1)/usr/bin/xml2-config
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/libxml2 $(1)/usr/include/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment