[Mesa-dev] [PATCH] util/disk_cache: fix zlib linking with LTO build

Emil Velikov emil.l.velikov at gmail.com
Fri Mar 10 12:11:35 UTC 2017


On 9 March 2017 at 14:39, Steven Newbury <steve at snewbury.org.uk> wrote:
> Introduction of zlib compression for the shader cache means
> zlib needs to be explicitly linked to libOSMesa and libstandalone
> otherwise build fails when LTO is used.
> ---
How exactly are you doing the LTO build ?

The only user of ZLIB is libmesautil.la which in itself uses ZLIB_LIBS.
Hence as-is patch looks wrong/incomplete, although I might be missing
something ?

-Emil


More information about the mesa-dev mailing list