diff options
| author | gingerBill <bill@gingerbill.org> | 2017-10-15 12:11:33 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2017-10-15 12:11:33 +0100 |
| commit | 26ea8f6dcb4f49565817fa5a06187e228c8ee693 (patch) | |
| tree | 3e9d51e14740bd0d87f9e9f18f6ab22456842c67 /src/main.cpp | |
| parent | e05fe1837de55741a009f7e35ee4ba6a0e13a1e6 (diff) | |
Syntax: Replace `foreign_system_library "kernel.lib"` to `foreign_library "system:kernel.lib"`; Remove keyword: `foreign_system_library`
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 6 |
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) { |