mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-04-22 13:37:18 +00:00

By default binutils 2.33 will automatically build and use it's bundled zlib version - which isn't obvious from package.mk as we don't explicitly build the zlib folder. binutils 2.32 uses the zlib include from it's bundled version but won't build it and try to link with libz.a from sysroot - which will either fail (if zlib wasn't built before) or result in a possible version mix (which isn't nice as well). Explicitly using the target zlib - like most linux distributions do - solves these issues and makes the build consistent. Signed-off-by: Matthias Reichl <hias@horus.com>