trim brew library path

This commit is contained in:
nakst 2022-01-28 19:11:30 +00:00
parent ac050f5a5f
commit 71a0fc2caa
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ void Start() {
// Get the brew library path if we're running on Darwin.
str hostPlatform = StringTrim(SystemShellEvaluate("uname"));
str libraryPath = "";
if hostPlatform == "Darwin" libraryPath = "-L" + SystemShellEvaluate("brew --prefix") + "/lib";
if hostPlatform == "Darwin" libraryPath = "-L" + StringTrim(SystemShellEvaluate("brew --prefix")) + "/lib";
// Check all the needed tools are available.
assert SystemShellExecute("which g++");