mirror of https://github.com/mamba-org/mamba.git
fix setup.py
This commit is contained in:
parent
84cb113ce4
commit
feff416011
6
setup.py
6
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':
|
||||
|
|
Loading…
Reference in New Issue