freetype: fix pkgconfig file

Signed-off-by: Nicolas Thill <nico@openwrt.org>
This commit is contained in:
Nicolas Thill 2015-02-02 13:36:51 +01:00
parent 6bdc2e1eae
commit 21f572176d
1 changed files with 6 additions and 0 deletions

View File

@ -66,6 +66,12 @@ define Build/InstallDev
$(SED) \
's,^\(prefix\|exec_prefix\)=.*,\1="$(STAGING_DIR)/usr",g' \
$(2)/bin/freetype-config
$(SED) \
's,/usr/include,$$$${prefix}/include,g' \
$(1)/usr/lib/pkgconfig/freetype2.pc
$(SED) \
's,/usr/lib,$$$${exec_prefix}/lib,g' \
$(1)/usr/lib/pkgconfig/freetype2.pc
endef