add host build for libjpeg
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15558 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
81963fefdd
commit
4a06d37944
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user