You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main.go
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,9 @@ type Config struct {
34
34
SettingsFilestring`json:"settings_file"`
35
35
LogFilestring`json:"log_file"`
36
36
ConfFilestring
37
+
glibcCustomstring
38
+
glibcLocationstring
39
+
glibcLibLocstring
37
40
}
38
41
39
42
var (
@@ -72,9 +75,14 @@ func parseFlags() {
72
75
factorioConfigFile:=flag.String("config", "config/config.ini", "Specify location of Factorio config.ini file")
73
76
factorioMaxUpload:=flag.Int64("max-upload", 1024*1024*20, "Maximum filesize for uploaded files (default 20MB).")
74
77
factorioBinary:=flag.String("bin", "bin/x64/factorio", "Location of Factorio Server binary file")
78
+
glibcCustom:=flag.String("glibc-custom", "false", "By default false, if custom glibc is required set this to true and add glibc-loc and glibc-lib-loc parameters")
79
+
glibcLocation:=flag.String("glibc-loc", "/opt/glibc-2.18/lib/ld-2.18.so", "Location glibc ld.so file if needed (ex. /opt/glibc-2.18/lib/ld-2.18.so)")
80
+
glibcLibLoc:=flag.String("glibc-lib-loc", "/opt/glibc-2.18/lib", "Location of glibc lib folder (ex. /opt/glibc-2.18/lib)")
0 commit comments