Stuff to make linux build work

This commit is contained in:
2017-01-26 22:56:07 -05:00
parent dfd6c5f2ef
commit 823e96f637
2 changed files with 2 additions and 1 deletions

View File

@@ -43,7 +43,7 @@ else:
""")
if str(platform) == "posix":
env.Append(CXXFLAGS="-std=c++11")
env.Append(CXXFLAGS="-std=c++11 -stdlib=libstdc++")
env["CC"] = 'clang'
env["CXX"] = 'clang++'
if str(platform) == "darwin":

View File

@@ -57,6 +57,7 @@ void init_directories(const char* exec_path) {
#endif // __APPLE__
#endif // _Win32||_Win64
scenDir = tempDir/"Scenarios";
fs::create_directories(scenDir);
tempDir /= "Temporary Files";
// Depending on the build environment, we may need to redirect stdout and stderr.