From 478d342119d0414736a4234e0ffc708268676757 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Sun, 16 Sep 2018 18:41:09 -0500 Subject: [PATCH] Fix cxxflags handling in pybind11 BuildExt --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index fcf668bf..46666608 100644 --- a/setup.py +++ b/setup.py @@ -103,7 +103,7 @@ class BuildExt(build_ext): elif ct == 'msvc': opts.append('/DVERSION_INFO=\\"%s\\"' % self.distribution.get_version()) for ext in self.extensions: - ext.extra_compile_args = opts + ext.extra_compile_args = ext.extra_compile_args + opts build_ext.build_extensions(self) # }}} -- GitLab