From 4a06d37944dd196256a2131f7a31a7c38f72be9e Mon Sep 17 00:00:00 2001 From: mirko Date: Sat, 2 May 2009 17:33:27 +0000 Subject: [PATCH] add host build for libjpeg git-svn-id: svn://svn.openwrt.org/openwrt/packages@15558 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/jpeg/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/jpeg/Makefile b/libs/jpeg/Makefile index 66757112f..547a90966 100644 --- a/libs/jpeg/Makefile +++ b/libs/jpeg/Makefile @@ -18,6 +18,7 @@ PKG_MD5SUM:=dbd5f3b47ed13132f04c685d608a7547 PKG_FIXUP = libtool +include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/package.mk define Package/jpeg/Default @@ -46,6 +47,10 @@ CONFIGURE_ARGS += \ --enable-shared \ --enable-static \ +HOST_CONFIGURE_ARGS += \ + --enable-shared \ + --enable-static \ + define Build/Prepare $(call Build/Prepare/Default) # replace the old upstream libtool stuff with our own @@ -85,5 +90,6 @@ define Package/jpeg-tools/install $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/*jpeg* $(1)/usr/bin/ endef +$(eval $(call HostBuild)) $(eval $(call BuildPackage,libjpeg)) $(eval $(call BuildPackage,jpeg-tools))