From: Jo-Philipp Wich Date: Fri, 18 Dec 2009 16:20:39 +0000 (+0000) Subject: [packages] libshout: fixup pkg-config file before installing it into staging dir X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ffd2c50ba39820bb1257063977a5d959d5791ee8;p=openwrt%2Fsvn-archive%2Farchive.git [packages] libshout: fixup pkg-config file before installing it into staging dir SVN-Revision: 18824 --- diff --git a/libs/libshout/Makefile b/libs/libshout/Makefile index d2a490f636..2421e6d371 100644 --- a/libs/libshout/Makefile +++ b/libs/libshout/Makefile @@ -58,6 +58,8 @@ define Build/InstallDev $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libshout.{a,so*} $(1)/usr/lib/ $(INSTALL_DIR) $(1)/usr/lib/pkgconfig + $(SED) 's|/usr/include|$(STAGING_DIR)/usr/include|' \ + (PKG_INSTALL_DIR)/usr/lib/pkgconfig/shout.pc $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/shout.pc $(1)/usr/lib/pkgconfig/ endef