We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da55f70 commit 619f0e6Copy full SHA for 619f0e6
1 file changed
setup.py
@@ -387,14 +387,18 @@ def get_cython_extension():
387
else ["$ORIGIN/libzim/"]
388
)
389
390
+ extra_compile_args = ["-std=c++11", "-Wall"]
391
+ if config.platform != "Windows":
392
+ extra_compile_args.append("-Wextra")
393
+
394
wrapper_extension = Extension(
395
name="libzim",
396
sources=["libzim/libzim.pyx", "libzim/libwrapper.cpp"],
397
include_dirs=include_dirs,
398
libraries=["zim"],
399
library_dirs=library_dirs,
400
runtime_library_dirs=runtime_library_dirs,
- extra_compile_args=["-std=c++11", "-Wall", "-Wextra"],
401
+ extra_compile_args=extra_compile_args,
402
language="c++",
403
define_macros=define_macros,
404
0 commit comments