libffi: enable the host build, needed for newer glib
authorFlorian Fainelli <florian@openwrt.org>
Tue, 4 Dec 2012 16:20:57 +0000 (16:20 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 4 Dec 2012 16:20:57 +0000 (16:20 +0000)
Signed-off-by: Jonh Wendell <jonh.wendell@oiwifi.com.br>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34489

libs/libffi/Makefile

index 90c29cedc1a2a95c413206ded9755f9d3f146d64..e3b283942a57ec47e5f703006ed48faaf60e9ca8 100644 (file)
@@ -22,6 +22,7 @@ PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
 
 include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/host-build.mk
 
 define Package/libffi
   SECTION:=libs
@@ -74,4 +75,5 @@ define Package/libffi/install
                $(1)/usr/lib/
 endef
 
+$(eval $(call HostBuild))
 $(eval $(call BuildPackage,libffi))