fix windows build

gnu++17 doesn't support inline variables but c++17 does
This commit is contained in:
Chris Cromer 2022-09-01 12:28:00 -04:00
parent fe9cebc620
commit e981295e5f
Signed by: cromer
GPG Key ID: FA91071797BEEEC2

View File

@ -82,6 +82,8 @@ elif env['platform'] == "windows":
# that way you can run scons in a vs 2017 prompt and it will find all the required tools
env.Append(ENV=os.environ)
env.Append(CXXFLAGS=['-std=c++17'])
env.Append(LINKFLAGS=[
'--static',
'-Wl,--no-undefined',