Skip to content

Commit

Permalink
Add -shared flag for DMD when building dynamic libraries.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-ludwig committed Aug 11, 2013
1 parent 0d5b05c commit 98826fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/dub/compilers/dmd.d
Expand Up @@ -145,6 +145,7 @@ class DmdCompiler : Compiler {
settings.addDFlags("-lib");
break;
case TargetType.dynamicLibrary:
settings.addDFlags("-shared");
break;
}

Expand Down

0 comments on commit 98826fa

Please sign in to comment.