diff --git a/source/dub/compilers/compiler.d b/source/dub/compilers/compiler.d index 6a1430f..f879e1a 100644 --- a/source/dub/compilers/compiler.d +++ b/source/dub/compilers/compiler.d @@ -19,6 +19,7 @@ import std.conv; import std.exception; import std.process; +import std.path : globMatch; static this() @@ -240,7 +241,7 @@ bool matches(string s) { foreach (p; vals) - if (Path(s) == Path(p)) + if (Path(s) == Path(p) || globMatch(s, p)) return true; return false; }