diff --git a/setup_xxhash.py b/setup_xxhash.py index 244e2323b..03ff9b496 100644 --- a/setup_xxhash.py +++ b/setup_xxhash.py @@ -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