summaryrefslogtreecommitdiff
path: root/openwrt/package
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2006-05-01 11:24:15 +0000
committerNicolas Thill <nico@openwrt.org>2006-05-01 11:24:15 +0000
commitf9c716496c8407964d5016a1c6ba036b1eb7a878 (patch)
treed8c820da6370132c54d749d6d7ddbddc2c7123ca /openwrt/package
parent6eff467ddc9e599a34f1f105f1c9ace652670e45 (diff)
downloadmtk-20170518-f9c716496c8407964d5016a1c6ba036b1eb7a878.zip
mtk-20170518-f9c716496c8407964d5016a1c6ba036b1eb7a878.tar.gz
mtk-20170518-f9c716496c8407964d5016a1c6ba036b1eb7a878.tar.bz2
remove /usr/{include,lib} ref from libxml2 pkgconfig
SVN-Revision: 3719
Diffstat (limited to 'openwrt/package')
-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 c08d5fe..bf71ef7 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