mirror of
https://github.com/borgbackup/borg.git
synced 2026-05-28 04:03:21 -04:00
use XXH_PRIVATE_API only when using system lib
This commit is contained in:
parent
a2967049e8
commit
f3f287e91d
1 changed files with 1 additions and 0 deletions
1
setup.py
1
setup.py
|
|
@ -222,6 +222,7 @@ libxxhash_prefix = setup_xxhash.xxhash_system_prefix(possible_libxxhash_prefixes
|
|||
if prefer_system_libxxhash and libxxhash_prefix:
|
||||
print('Detected and preferring libxxhash over bundled XXHASH')
|
||||
define_macros.append(('BORG_USE_LIBXXHASH', 'YES'))
|
||||
define_macros.append(('XXH_PRIVATE_API', 'YES')) # do not use this for bundled zstd or xxh64, breaks the build
|
||||
libxxhash_system = True
|
||||
else:
|
||||
libxxhash_system = False
|
||||
|
|
|
|||
Loading…
Reference in a new issue