A couple of ldc2 tweaks now druntime compiles.

This commit is contained in:
Robert Clipsham 2009-07-09 12:36:08 +01:00
parent b73e45940a
commit 4fbcd9b9c4
2 changed files with 3 additions and 5 deletions

View file

@ -318,7 +318,9 @@ int main(int argc, char** argv)
}
else if (!noDefaultLib)
{
#if !DMDV2
#if DMDV2
global.params.linkswitches->push(mem.strdup("-ldruntime-ldc"));
#else
global.params.linkswitches->push(mem.strdup("-lldc-runtime"));
global.params.linkswitches->push(mem.strdup("-ltango-cc-tango"));
global.params.linkswitches->push(mem.strdup("-ltango-gc-basic"));