Forráskód Böngészése

fix define_macros

Thomas Waldmann 6 éve
szülő
commit
7b2b8980b4
3 módosított fájl, 3 hozzáadás és 3 törlés
  1. 1 1
      setup_b2.py
  2. 1 1
      setup_lz4.py
  3. 1 1
      setup_zstd.py

+ 1 - 1
setup_b2.py

@@ -70,6 +70,6 @@ def b2_ext_kwargs(prefer_system, **kwargs):
         extra_compile_args += []  # not used yet
 
     ret = dict(**kwargs)
-    ret.update(dict(sources=sources, extra_compile_args=extra_compile_args,
+    ret.update(dict(sources=sources, define_macros=define_macros, extra_compile_args=extra_compile_args,
                     include_dirs=include_dirs, library_dirs=library_dirs, libraries=libraries))
     return ret

+ 1 - 1
setup_lz4.py

@@ -70,6 +70,6 @@ def lz4_ext_kwargs(prefer_system, **kwargs):
         extra_compile_args += []  # not used yet
 
     ret = dict(**kwargs)
-    ret.update(dict(sources=sources, extra_compile_args=extra_compile_args,
+    ret.update(dict(sources=sources, define_macros=define_macros, extra_compile_args=extra_compile_args,
                     include_dirs=include_dirs, library_dirs=library_dirs, libraries=libraries))
     return ret

+ 1 - 1
setup_zstd.py

@@ -128,6 +128,6 @@ def zstd_ext_kwargs(prefer_system, multithreaded=False, legacy=False, **kwargs):
             extra_compile_args += ['-DZSTD_LEGACY_SUPPORT=1', ]
 
     ret = dict(**kwargs)
-    ret.update(dict(sources=sources, extra_compile_args=extra_compile_args,
+    ret.update(dict(sources=sources, define_macros=define_macros, extra_compile_args=extra_compile_args,
                     include_dirs=include_dirs, library_dirs=library_dirs, libraries=libraries))
     return ret