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:
Björn Ketelaars 2020-03-05 03:10:10 +01:00
parent d528840809
commit bf58e8c317
1 changed files with 1 additions and 1 deletions

View File

@ -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')