Mercurial > projects > ldc
comparison dmd/mars.c @ 679:dc078dd8d2e1
Fix remaining make files. Fix linking order for static libs.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 11 Oct 2008 21:40:44 +0200 |
parents | 075c1272a01d |
children | 8526cf626110 |
comparison
equal
deleted
inserted
replaced
678:299f53f2e6f2 | 679:dc078dd8d2e1 |
---|---|
736 strcpy(arg, "-ltango-cc-tango"); | 736 strcpy(arg, "-ltango-cc-tango"); |
737 global.params.linkswitches->push(arg); | 737 global.params.linkswitches->push(arg); |
738 arg = (char *)mem.malloc(64); | 738 arg = (char *)mem.malloc(64); |
739 strcpy(arg, "-ltango-gc-basic"); | 739 strcpy(arg, "-ltango-gc-basic"); |
740 global.params.linkswitches->push(arg); | 740 global.params.linkswitches->push(arg); |
741 // pass the runtime again to resolve issues | |
742 // with linking order | |
743 arg = (char *)mem.malloc(64); | |
744 strcpy(arg, "-lldc-runtime"); | |
745 global.params.linkswitches->push(arg); | |
741 } | 746 } |
742 | 747 |
743 if (global.params.run) | 748 if (global.params.run) |
744 global.params.quiet = 1; | 749 global.params.quiet = 1; |
745 | 750 |