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) \
|
||||
'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
|
||||
$(SED) \
|
||||
's,/usr/include,$$$${prefix}/include,g' \
|
||||
$(1)/usr/lib/pkgconfig/freetype2.pc
|
||||
$(SED) \
|
||||
's,/usr/lib,$$$${exec_prefix}/lib,g' \
|
||||
's,/usr/include,$$$${prefix}/include,g; \
|
||||
s,/usr/lib,$$$${exec_prefix}/lib,g' \
|
||||
$(1)/usr/lib/pkgconfig/freetype2.pc
|
||||
endef
|
||||
|
||||
|
|
Loading…
Reference in a new issue