[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:
parent
e3b7b8eb48
commit
51fbec455e
@ -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))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user