Let soname dictate the ABI and do not check for minor/micro which requires needless rebuilds after every zlib update. By Ulrich Müller. https://bugs.gentoo.org/show_bug.cgi?id=310487 http://www.ntg.nl/pipermail/dev-luatex/2012-July/004534.html --- a/texk/web2c/luatexdir/luazlib/lzlib.c +++ b/texk/web2c/luatexdir/luazlib/lzlib.c @@ -549,14 +549,6 @@ /* ====================================================================== */ - /* make sure header and library version are consistent */ - const char* version = zlibVersion(); - if (strncmp(version, ZLIB_VERSION, 5)) - { - lua_pushfstring(L, "zlib library version does not match - header: %s, library: %s", ZLIB_VERSION, version); - lua_error(L); - } - /* create new metatable for zlib compression structures */ luaL_newmetatable(L, ZSTREAMMETA); lua_pushliteral(L, "__index");