Fix mac build.

This commit is contained in:
David Anderson 2020-05-20 22:37:58 -07:00
parent b725196a26
commit c9f574c27b
2 changed files with 2 additions and 1 deletions

View File

@ -398,6 +398,7 @@ class SMConfig(object):
cxx.linkflags += [ cxx.linkflags += [
'-mmacosx-version-min=10.7', '-mmacosx-version-min=10.7',
'-stdlib=libc++', '-stdlib=libc++',
'-lc++',
] ]
cxx.cxxflags += ['-stdlib=libc++'] cxx.cxxflags += ['-stdlib=libc++']

View File

@ -127,7 +127,7 @@ do
checkout checkout
done done
`python -c "import ambuild2"` `python -c "import ambuild2"` || `python3 -c "import ambuild2"`
if [ $? -eq 1 ]; then if [ $? -eq 1 ]; then
repo="https://github.com/alliedmodders/ambuild" repo="https://github.com/alliedmodders/ambuild"
origin= origin=