diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-01-26 20:06:22 +0000 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-01-26 20:06:22 +0000 |
| commit | ce3582fd898508719a38e4d59e97aa7f868f89af (patch) | |
| tree | f07006e3ec56c4fc882340be096631171801412b /src | |
| parent | e3e16f5d051c2b941d5e4ee1a64b235286a85cdf (diff) | |
Remove case sensitivity for libraries on windows
Diffstat (limited to 'src')
| -rw-r--r-- | src/ir.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -5213,7 +5213,11 @@ void ir_add_foreign_library_path(irModule *m, Entity *e) { for_array(path_index, m->foreign_library_paths) { String path = m->foreign_library_paths.e[path_index]; +#if defined(GB_SYSTEM_WINDOWS) + if (str_eq_ignore_case(path, library_path)) { +#else if (str_eq(path, library_path)) { +#endif return; } } |