Syntax: Replace foreign_system_library "kernel.lib" to foreign_library "system:kernel.lib"; Remove keyword: foreign_system_library

This commit is contained in:
gingerBill
2017-10-15 12:11:33 +01:00
parent e05fe1837d
commit 26ea8f6dcb
9 changed files with 90 additions and 59 deletions

View File

@@ -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) {