Browse Source

freetype: fix pkgconfig file

Signed-off-by: Nicolas Thill <nico@openwrt.org>
lilik-openwrt-22.03
Nicolas Thill 10 years ago
parent
commit
21f572176d
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      libs/freetype/Makefile

+ 6
- 0
libs/freetype/Makefile View File

@ -66,6 +66,12 @@ define Build/InstallDev
$(SED) \ $(SED) \
's,^\(prefix\|exec_prefix\)=.*,\1="$(STAGING_DIR)/usr",g' \ 's,^\(prefix\|exec_prefix\)=.*,\1="$(STAGING_DIR)/usr",g' \
$(2)/bin/freetype-config $(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 endef


Loading…
Cancel
Save