mirror of
https://github.com/borgbackup/borg.git
synced 2026-03-31 22:56:44 -04:00
setup_zstd.py modified so it is just amending the Extension() kwargs,
but the Extension is initialized by the caller.
this way, amending can happend multiple times (e.g. for multiple
compression algorithms).
also:
- move include/library dirs processing for system-library case
- move system zstd prefix detection to setup_zstd module
- cosmetic: setup.py whitespace fixes
- prefer system zstd option, document zstd min. requirement
(cherry picked from commit 34b92ffdaa)
5 lines
82 B
C
5 lines
82 B
C
#ifdef BORG_USE_LIBZSTD
|
|
#include <zstd.h>
|
|
#else
|
|
#include "zstd/lib/zstd.h"
|
|
#endif
|