From 21f572176dd7bad51d2d3c022fd4017e8192df28 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Mon, 2 Feb 2015 13:36:51 +0100 Subject: [PATCH] freetype: fix pkgconfig file Signed-off-by: Nicolas Thill --- libs/freetype/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/freetype/Makefile b/libs/freetype/Makefile index e88d74871..feeab48bf 100644 --- 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