aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 5da7105c3..cd7215168 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -430,6 +430,12 @@ bool parse_build_flags(Array<String> args) {
break;
}
+ if (name == "system") {
+ gb_printf_err("Library collection name `system` is reserved\n");
+ bad_flags = true;
+ break;
+ }
+
String prev_path = {};
bool found = find_library_collection_path(name, &prev_path);
if (found) {