Thomas Waldmann
d6635da654
refactor lib/bundled related code in setup.py
...
- removed hardcoded lib search pathes
- to find system libs/headers, one must point these env vars to them:
BORG_LIBLZ4_PREFIX, BORG_LIBZSTD_PREFIX, BORG_LIBB2_PREFIX
- moved some code from setup.py to setup_*.py
2019-03-12 02:46:00 +01:00
Thomas Waldmann
9cf8d57f51
do .h file content checks in binary mode, fixes #3544
...
we can't know the encoding header file authors will use,
so using binary for our simple checks is the safest way.
2018-01-27 19:49:42 +01:00
Thomas Waldmann
fe48caf853
fix lz4 deprecation warning, require lz4 >= 1.7.0 (r129)
...
as we bundle lz4 1.8.0 now, platform not having a recent liblz4 can
now just use the bundled code.
2017-12-18 00:53:26 +01:00
Thomas Waldmann
73a70082c2
compress extension: build lz4 like zstd, see #3415
2017-12-18 00:53:26 +01:00