mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix bug where library source files were sometimes ignored.
This commit is contained in:
@@ -554,7 +554,7 @@ void file_add_wildcard_files(const char ***files, const char *path, bool recursi
|
||||
continue;
|
||||
}
|
||||
char *format = path_ends_with_slash ? "%s%s" : "%s/%s";
|
||||
DEBUG_LOG("Added file");
|
||||
DEBUG_LOG("Added file %s", ent->d_name);
|
||||
vec_add(*files, str_printf(format, path, ent->d_name));
|
||||
}
|
||||
closedir(dir);
|
||||
|
||||
Reference in New Issue
Block a user