Switch to libc++ on mac.

This commit is contained in:
David Anderson 2021-07-11 20:50:54 -07:00
parent 00b769e3f2
commit d67510b841

View File

@ -322,10 +322,10 @@ class AMXXConfig(object):
'-mmacosx-version-min=10.5', '-mmacosx-version-min=10.5',
'-arch', 'i386', '-arch', 'i386',
'-lstdc++', '-lstdc++',
'-stdlib=libstdc++', '-stdlib=libc++',
'-framework', 'CoreServices', '-framework', 'CoreServices',
] ]
cxx.cxxflags += ['-stdlib=libstdc++'] cxx.cxxflags += ['-stdlib=libc++']
def configure_windows(self, cxx): def configure_windows(self, cxx):
cxx.defines += ['WIN32', '_WINDOWS'] cxx.defines += ['WIN32', '_WINDOWS']