aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-01-26 20:06:22 +0000
committerGinger Bill <bill@gingerbill.org>2017-01-26 20:06:22 +0000
commitce3582fd898508719a38e4d59e97aa7f868f89af (patch)
treef07006e3ec56c4fc882340be096631171801412b /src
parente3e16f5d051c2b941d5e4ee1a64b235286a85cdf (diff)
Remove case sensitivity for libraries on windows
Diffstat (limited to 'src')
-rw-r--r--src/ir.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ir.c b/src/ir.c
index 80c9949ea..29e81c899 100644
--- a/src/ir.c
+++ b/src/ir.c
@@ -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;
}
}