mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Fix -export-linked-libs-file system lib check
This commit is contained in:
+1
-1
@@ -2317,7 +2317,7 @@ gb_internal void export_linked_libraries(LinkerData *gen) {
|
|||||||
GB_ASSERT(file_path->tav.mode == Addressing_Constant && file_path->tav.value.kind == ExactValue_String);
|
GB_ASSERT(file_path->tav.mode == Addressing_Constant && file_path->tav.value.kind == ExactValue_String);
|
||||||
String file_path_str = file_path->tav.value.value_string;
|
String file_path_str = file_path->tav.value.value_string;
|
||||||
|
|
||||||
if (string_starts_with(file_path_str, str_lit("\"system:"))) {
|
if (string_starts_with(file_path_str, str_lit("system:"))) {
|
||||||
gb_fprintf(&f, "system");
|
gb_fprintf(&f, "system");
|
||||||
} else {
|
} else {
|
||||||
gb_fprintf(&f, "user");
|
gb_fprintf(&f, "user");
|
||||||
|
|||||||
Reference in New Issue
Block a user