Browse Source

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>
lilik-openwrt-22.03
Nicolas Thill 10 years ago
parent
commit
3d929bbd08
1 changed files with 4 additions and 5 deletions
  1. +4
    -5
      libs/freetype/Makefile

+ 4
- 5
libs/freetype/Makefile View File

@ -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…
Cancel
Save