commit 21f572176dd7bad51d2d3c022fd4017e8192df28
parent 6bdc2e1eae9b0bdc513f2f0e0701ed35c03deb35
Author: Nicolas Thill <nico@openwrt.org>
Date: Mon, 2 Feb 2015 13:36:51 +0100
freetype: fix pkgconfig file
Signed-off-by: Nicolas Thill <nico@openwrt.org>
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/libs/freetype/Makefile b/libs/freetype/Makefile
@@ -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