freetype: -config & .pc files cleanup & fixes
Fix libdir as well in freetype-config, merge both freetype2.pc fixes into a single one Signed-off-by: Nicolas Thill <nico@openwrt.org>
This commit is contained in:
parent
81e4c788ad
commit
3d929bbd08
1 changed files with 4 additions and 5 deletions
|
@ -65,13 +65,12 @@ define Build/InstallDev
|
||||||
|
|
||||||
$(SED) \
|
$(SED) \
|
||||||
's,^\(prefix\|exec_prefix\)=.*,\1="$(STAGING_DIR)/usr",; \
|
's,^\(prefix\|exec_prefix\)=.*,\1="$(STAGING_DIR)/usr",; \
|
||||||
s,^\(includedir\)=.*,\1="$(STAGING_DIR)/usr/include",' \
|
s,^\(includedir\)=.*,\1="$(STAGING_DIR)/usr/include",; \
|
||||||
|
s,^\(libdir\)=.*,\1="$(STAGING_DIR)/usr/lib",' \
|
||||||
$(2)/bin/freetype-config
|
$(2)/bin/freetype-config
|
||||||
$(SED) \
|
$(SED) \
|
||||||
's,/usr/include,$$$${prefix}/include,g' \
|
's,/usr/include,$$$${prefix}/include,g; \
|
||||||
$(1)/usr/lib/pkgconfig/freetype2.pc
|
s,/usr/lib,$$$${exec_prefix}/lib,g' \
|
||||||
$(SED) \
|
|
||||||
's,/usr/lib,$$$${exec_prefix}/lib,g' \
|
|
||||||
$(1)/usr/lib/pkgconfig/freetype2.pc
|
$(1)/usr/lib/pkgconfig/freetype2.pc
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue