Skip to content

Commit

Permalink
Merge pull request #5084 from MartinNowak/libdl
Browse files Browse the repository at this point in the history
link against libdl on linux by default
  • Loading branch information
WalterBright committed Sep 20, 2015
2 parents d3f3ddd + 541d9b6 commit 1fe9d18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/link.d
Expand Up @@ -638,6 +638,8 @@ extern (C++) int runLINK()
{
// Changes in ld for Ubuntu 11.10 require this to appear after phobos2
argv.push("-lrt");
// Link against libdl for phobos usage of dlopen
argv.push("-ldl");
}
if (global.params.verbose)
{
Expand Down

0 comments on commit 1fe9d18

Please sign in to comment.