On 09/11/17 13:19, Emil Velikov wrote:
Hi Jordan,

On 9 November 2017 at 06:42, Jordan Justen <[email protected]> wrote:
Signed-off-by: Jordan Justen <[email protected]>
---
  src/util/Makefile.sources |   2 +
  src/util/meson.build      |   2 +
  src/util/program_binary.c | 322 ++++++++++++++++++++++++++++++++++++++++++++++
  src/util/program_binary.h |  91 +++++++++++++
  4 files changed, 417 insertions(+)
  create mode 100644 src/util/program_binary.c
  create mode 100644 src/util/program_binary.h


+#include "zlib.h"
+
Currently zlib is a dependency for !WIndows platforms.
With this patch we add it to the Windows builds.

Brian, Jose any ideas how we can get zlib on Windows?

Thanks
Emil


Thanks for the heads up Emil!

The most effective way to get zlib on Windows would be to bundle the source code in mesa/src/zlib.

But it would be much simpler we did not add zlib as a required dependency.

Could we use some other checksum/hash?

Or instead of bundling the whole zlib, we could just bundle crc implementation. I'm sure there are many BDS/MIT licensed out there. I've used some in apitrace -- https://github.com/apitrace/apitrace/tree/master/thirdparty/crc32c

Jose
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to