diff --git a/source/dub/compilers/dmd.d b/source/dub/compilers/dmd.d index 6f55ee0..29a3d2c 100644 --- a/source/dub/compilers/dmd.d +++ b/source/dub/compilers/dmd.d @@ -352,7 +352,7 @@ return args.map!(s => s.canFind(' ') ? "\""~s~"\"" : s); } - private static bool isLinkerDFlag(string arg) + static bool isLinkerDFlag(string arg) { switch (arg) { default: diff --git a/source/dub/compilers/ldc.d b/source/dub/compilers/ldc.d index 2fbe362..9170896 100644 --- a/source/dub/compilers/ldc.d +++ b/source/dub/compilers/ldc.d @@ -271,7 +271,7 @@ return args.map!(s => s.canFind(' ') ? "\""~s~"\"" : s); } - private static bool isLinkerDFlag(string arg) + static bool isLinkerDFlag(string arg) { if (arg.length > 2 && arg.startsWith("--")) arg = arg[1 .. $]; // normalize to 1 leading hyphen