mirror of https://gitlab.com/nakst/essence
trim brew library path
This commit is contained in:
parent
ac050f5a5f
commit
71a0fc2caa
|
@ -84,7 +84,7 @@ void Start() {
|
||||||
// Get the brew library path if we're running on Darwin.
|
// Get the brew library path if we're running on Darwin.
|
||||||
str hostPlatform = StringTrim(SystemShellEvaluate("uname"));
|
str hostPlatform = StringTrim(SystemShellEvaluate("uname"));
|
||||||
str libraryPath = "";
|
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.
|
// Check all the needed tools are available.
|
||||||
assert SystemShellExecute("which g++");
|
assert SystemShellExecute("which g++");
|
||||||
|
|
Loading…
Reference in New Issue