mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-22 23:38:57 +00:00
xxhash>=0.7.3 provides a pkgconfig file
https://github.com/Cyan4973/xxHash/pull/324 As advertised, xxhash is picked up by py-pkgconfig.
This commit is contained in:
parent
d528840809
commit
bf58e8c317
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ def xxhash_ext_kwargs(pc, prefer_system, system_prefix):
|
|||
library_dirs=[os.path.join(system_prefix, 'lib')],
|
||||
libraries=['xxhash'])
|
||||
|
||||
if pc and pc.installed('libxxhash', '>= 1.7.0'):
|
||||
if pc and pc.installed('libxxhash', '>= 0.7.3'):
|
||||
print('Detected and preferring libxxhash [via pkg-config]')
|
||||
return pc.parse('libxxhash')
|
||||
|
||||
|
|
Loading…
Reference in a new issue