diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2019-04-10 22:06:11 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2019-04-10 22:34:50 +0200 |
commit | 42440dcf572546875a472f21cc98750bb89bd8ca (patch) | |
tree | 0c08cafaddc7793c0122ca839aa444a13f279b9e /netax25/ttyutils.h | |
parent | 1d4372367c56ae167e4c8c70f96cf0e9246d8a1a (diff) |
libax25io: Link against zlib, if available.
So far only the presence of the zlib.h header was being tested and used if
present but the result was never linked against libz. This means the
resulting libax25io library had no DT_NEEDED tag so linking a libax25io
built with zlib support into an application which itself wasn't being
linked against zlib would result in a link errror. Whops.
In the dark past the issue must have been noticed but it was papered over
for the node package by linking against zlib, if present. This might fail
if libax25io was built with zlib compression support but ax25-tools is
being built on a system without zlib.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'netax25/ttyutils.h')
0 files changed, 0 insertions, 0 deletions