diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-11-23 10:18:30 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-12-17 00:52:49 -0500 |
commit | 6a2346a433c6ba1e372d270a4b3a5c62f431038a (patch) | |
tree | 4a3cc1b49a065b4ed9423894e34c5a0c01c6eeb0 /src/Makefile | |
parent | 072c78e8626a7de7ae9fefc78bff270a357e467d (diff) |
build-sys: check for lz4 in the old and new numbering scheme (#4717)
lz4 upstream decided to switch to an incompatible numbering scheme
(1.7.3 follows 131, to match the so version).
PKG_CHECK_MODULES does not allow two version matches for the same package,
so e.g. lz4 < 10 || lz4 >= 125 cannot be used. Check twice, once for
"new" numbers (anything below 10 is assume to be new), once for the "old"
numbers (anything above >= 125). This assumes that the "new" versioning
will not get to 10 to quickly. I think that's a safe assumption, lz4 is a
mature project.
Fixed #4690.
Diffstat (limited to 'src/Makefile')
0 files changed, 0 insertions, 0 deletions