diff --git a/source/dub/generators/build.d b/source/dub/generators/build.d index 716db0f..abb80d8 100644 --- a/source/dub/generators/build.d +++ b/source/dub/generators/build.d @@ -113,7 +113,7 @@ on the other compilers. Later this should be integrated somehow in the build process (either in the package.json, or using a command line flag) */ - if (settings.compiler.name != "dmd" || !generate_binary || is_static_library) { + if (settings.compilerBinary != "dmd" || !generate_binary || is_static_library) { // setup for command line if( generate_binary ) settings.compiler.setTarget(buildsettings, settings.platform); settings.compiler.prepareBuildSettings(buildsettings, BuildSetting.commandLine);