Merge pull request #4985 from bket/xxhash_pkgconfig

xxhash>=0.7.3 provides a pkgconfig file
This commit is contained in:
TW 2020-03-06 17:22:19 +01:00 committed by GitHub
commit 7899899856
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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')