summaryrefslogtreecommitdiffstats
path: root/openwrt/package/libxml2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/libxml2/Makefile')
-rw-r--r--openwrt/package/libxml2/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/openwrt/package/libxml2/Makefile b/openwrt/package/libxml2/Makefile
index c08d5fe8b..bf71ef70c 100644
--- a/openwrt/package/libxml2/Makefile
+++ b/openwrt/package/libxml2/Makefile
@@ -107,6 +107,8 @@ $(STAGING_DIR)/usr/lib/libxml2.so: $(PKG_BUILD_DIR)/.built
$(SED) 's,-I$(STAGING_DIR)/usr/include,,g' $(STAGING_DIR)/usr/bin/xml2-config
$(SED) 's,-L$${libdir},,g' $(STAGING_DIR)/usr/bin/xml2-config
$(SED) 's,-L$(STAGING_DIR)/usr/lib,,g' $(STAGING_DIR)/usr/bin/xml2-config
+ $(SED) 's,-I$${includedir}/libxml2,,g' $(STAGING_DIR)/usr/lib/pkgconfig/libxml-2.0.pc
+ $(SED) 's,-L$${libdir},,g' $(STAGING_DIR)/usr/lib/pkgconfig/libxml-2.0.pc
touch $@
install-dev: $(STAGING_DIR)/usr/lib/libxml2.so