mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 10:51:55 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user