Use pkg_config for xxhash flags
This commit is contained in:
parent
f2a6100f1f
commit
d485d487ea
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -808,7 +808,7 @@ def files(
|
|||
return kitten, sources, headers, f'kittens/{kitten}/{output}', includes, libraries
|
||||
|
||||
for kitten, sources, all_headers, dest, includes, libraries in (
|
||||
files('transfer', 'rsync', libraries=('xxhash',)),
|
||||
files('transfer', 'rsync', libraries=pkg_config('libxxhash', '--libs'), includes=pkg_config('libxxhash', '--cflags-only-I')),
|
||||
):
|
||||
final_env = kenv.copy()
|
||||
final_env.cflags.extend(f'-I{x}' for x in includes)
|
||||
|
|
|
|||
Loading…
Reference in a new issue