From feff41601167df3505f8f264572f7e5648d066aa Mon Sep 17 00:00:00 2001 From: Wolf Vollprecht Date: Fri, 22 Mar 2019 14:51:09 +0100 Subject: [PATCH] fix setup.py --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 6471517ef..fead17c07 100644 --- a/setup.py +++ b/setup.py @@ -67,10 +67,10 @@ class BuildExt(build_ext): ct = self.compiler.compiler_type if sys.platform == 'darwin': - c_opts['unix'] += ['-stdlib=libc++', '-mmacosx-version-min=10.7'] + self.c_opts['unix'] += ['-stdlib=libc++', '-mmacosx-version-min=10.7'] if not has_flag(self.compiler, '-std=c++17'): - c_opts.remove('-std=c++17') - c_opts.append('-std=c++1z') + self.c_opts.remove('-std=c++17') + self.c_opts.append('-std=c++1z') opts = self.c_opts.get(ct, []) if ct == 'unix':