mirror of https://github.com/mamba-org/mamba.git
fix has_flag call in setup.py
This commit is contained in:
parent
795700cdb8
commit
fa83b40bfc
2
setup.py
2
setup.py
|
@ -59,7 +59,7 @@ class BuildExt(build_ext):
|
||||||
|
|
||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
c_opts['unix'] += ['-stdlib=libc++', '-mmacosx-version-min=10.7']
|
c_opts['unix'] += ['-stdlib=libc++', '-mmacosx-version-min=10.7']
|
||||||
if not has_flag('-std=c++17'):
|
if not has_flag(self.compiler, '-std=c++17'):
|
||||||
c_opts.remove('-std=c++17')
|
c_opts.remove('-std=c++17')
|
||||||
c_opts.append('-std=c++1z')
|
c_opts.append('-std=c++1z')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue