aboutsummaryrefslogtreecommitdiffstats
path: root/tools/zlib
Commit message (Collapse)AuthorAgeFilesLines
* tools: zlib: do not hardcode the install prefix in zlib.pcJo-Philipp Wich2018-05-241-0/+14
| | | | | | | | | | | | | | | | | | Our pkg-config wrapper relies on the ability to redefine the $prefix and $exec_prefix variables in order to construct proper search paths relative to the build environment. Patch the .pc file template to construct libdir, sharedlibdir and includedir relative to the ${prefix} variable so that it can be overridden as needed. This also fixes the libxml2/host build issue raised at https://github.com/openwrt/packages/issues/6073 - it was caused by libxml2's configure picking up a wrong host search path through zlib.pc, letting it include the wrong endian.h, causing spurious member redeclaration errors in system headers. Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 4da832e201da2493b66024f234a78a2249af4aff)
* tools/zlib: move zlib build to toolsHauke Mehrtens2018-04-281-0/+41
This allows us to link the other tools against our libz and we do not need the system zlib any more. Only the static linked library is copied to the staging directory so we have a statically linked library on all systems and not only on Linux. This also adds the new dependencies of the packages which are depending on zlib. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>