diff --git a/rdmd.d b/rdmd.d index 68df66d8e6..38f44c5883 100755 --- a/rdmd.d +++ b/rdmd.d @@ -717,7 +717,7 @@ private string[string] getDependencies(string rootModule, string workDir, auto depsGetter = // "cd " ~ shellQuote(rootDir) ~ " && " [ compiler ] ~ compilerFlags ~ - ["-v", "-o-", rootModule, "-I" ~ rootDir]; + ["-v", "-deps", "-o-", rootModule, "-I" ~ rootDir]; scope(failure) {