X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=contrib%2Fzlib%2Fmodule.defs;h=55daf6d8e6e3c3a8ee7026f9a75e3e2cf343e762;hb=c593146bf3fab6290c71cbbb974e0a756e43f5e0;hp=66db2f49155b31d44af80e5d7996373a54f5b93e;hpb=2327fee8183124631ba4b43e0b35f984e1b85a3a;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/contrib/zlib/module.defs b/contrib/zlib/module.defs index 66db2f49..55daf6d8 100644 --- a/contrib/zlib/module.defs +++ b/contrib/zlib/module.defs @@ -4,3 +4,9 @@ $(eval $(call import.CONTRIB.defs,ZLIB)) ZLIB.FETCH.url = http://download.m0k.org/handbrake/contrib/zlib-1.2.3.tar.gz ZLIB.EXTRACT.tarbase = zlib ZLIB.CONFIGURE.args = !sete @dir !env !exe @prefix !extra + +ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system)) + ZLIB.CONFIGURE.env.AR = AR="$(AR.exe) rc" + ZLIB.CONFIGURE.env.RANLIB = RANLIB="$(RANLIB.exe)" + ZLIB.CONFIGURE.env.args += !AR !RANLIB +endif