We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 39a7aa6 + 642ace9 commit 81679cdCopy full SHA for 81679cd
src/wx/widgets/EntryMacro.hx
@@ -8,6 +8,8 @@ import sys.FileSystem;
8
import sys.io.File;
9
import sys.io.Process;
10
11
+using StringTools;
12
+
13
typedef OSVersion = {
14
var major:Int;
15
var minor:Int;
@@ -65,7 +67,7 @@ class EntryMacro {
65
67
};
66
68
69
var config = new Process("wx-config", ["--cxxflags"]);
- var cflags = config.stdout.readAll().toString().split("\n")[0].split(" ").map(makeFlag).join("\n");
70
+ var cflags = config.stdout.readAll().toString().rtrim().split(" ").map(makeFlag).join("\n");
71
config.exitCode();
72
73
#if WEBVIEW
0 commit comments