[packages] freetype: Properly fix freetype-config paths
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19717 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
670b3b177d
commit
a8f04bfd15
@ -56,8 +56,10 @@ define Build/InstallDev
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libfreetype.{a,so*} $(1)/usr/lib/
|
||||
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/freetype2.pc $(1)/usr/lib/pkgconfig/
|
||||
$(SED) 's,-I$$$$includedir/freetype2,-I$(STAGING_DIR)/usr/include/freetype2,g' $(2)/bin/freetype-config
|
||||
$(SED) 's,/usr/include/freetype2/,$(STAGING_DIR)/usr/include/freetype2/,g' $(2)/bin/freetype-config
|
||||
|
||||
$(SED) \
|
||||
's,^\(prefix\|exec_prefix\)=.*,\1="$(STAGING_DIR)/usr",g' \
|
||||
$(2)/bin/freetype-config
|
||||
endef
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user