remove /usr/{include,lib} ref from libxml2 pkgconfig
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 1 May 2006 11:24:15 +0000 (11:24 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 1 May 2006 11:24:15 +0000 (11:24 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3719 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/package/libxml2/Makefile

index c08d5fe..bf71ef7 100644 (file)
@@ -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
This page took 0.026398 seconds and 4 git commands to generate.