[packages] gta1: Properly fix paths in gtk-config

git-svn-id: svn://svn.openwrt.org/openwrt/packages@19730 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
lars 2010-02-19 04:19:45 +00:00
parent e3b7b8eb48
commit 51fbec455e

View File

@ -46,6 +46,9 @@ define Build/InstallDev
$(INSTALL_DIR) $(2)/bin $(INSTALL_DIR) $(2)/bin
mv $(1)/usr/bin/gtk-config $(2)/bin/ mv $(1)/usr/bin/gtk-config $(2)/bin/
$(SED) "s,libdirs=-L.*,libdirs=,g" $(2)/bin/gtk-config $(SED) "s,libdirs=-L.*,libdirs=,g" $(2)/bin/gtk-config
$(SED) \
's,^\(prefix\|exec_prefix\)=.*,\1="$(STAGING_DIR)/usr",g' \
$(2)/bin/gtk-config
endef endef
$(eval $(call BuildPackage,gtk1)) $(eval $(call BuildPackage,gtk1))