diff --git a/source/dub/generators/targetdescription.d b/source/dub/generators/targetdescription.d index f0360c5..da46b21 100644 --- a/source/dub/generators/targetdescription.d +++ b/source/dub/generators/targetdescription.d @@ -54,7 +54,6 @@ if (bs.targetType != TargetType.staticLibrary) { auto linkerFile = (Path(dbs.targetPath) ~ getTargetFileName(dbs, settings.platform)).toNativeString(); bs.addLinkerFiles(linkerFile); - bs.addSourceFiles(linkerFile); // To be removed from sourceFiles in the future } } }