mirror of
https://github.com/borgbackup/borg.git
synced 2026-05-28 04:03:21 -04:00
add macros support to setup_xxhash
This commit is contained in:
parent
0f477282c3
commit
f79d5b0d35
1 changed files with 3 additions and 1 deletions
|
|
@ -67,7 +67,9 @@ def xxhash_ext_kwargs(bundled_path, system_prefix=None, system=False, **kwargs):
|
|||
if not use_system:
|
||||
extra_compile_args += [] # not used yet
|
||||
|
||||
define_macros = kwargs.get('define_macros', [])
|
||||
|
||||
ret = dict(**kwargs)
|
||||
ret.update(dict(sources=sources, extra_compile_args=extra_compile_args,
|
||||
ret.update(dict(sources=sources, extra_compile_args=extra_compile_args, define_macros=define_macros,
|
||||
include_dirs=include_dirs, library_dirs=library_dirs, libraries=libraries))
|
||||
return ret
|
||||
|
|
|
|||
Loading…
Reference in a new issue