Fix remaining make files. Fix linking order for static libs.

This commit is contained in:
Christian Kamm
2008-10-11 21:40:44 +02:00
parent 6d1768967e
commit 697e5830fc
3 changed files with 51 additions and 33 deletions

View File

@@ -738,6 +738,11 @@ int main(int argc, char *argv[], char** envp)
arg = (char *)mem.malloc(64);
strcpy(arg, "-ltango-gc-basic");
global.params.linkswitches->push(arg);
// pass the runtime again to resolve issues
// with linking order
arg = (char *)mem.malloc(64);
strcpy(arg, "-lldc-runtime");
global.params.linkswitches->push(arg);
}
if (global.params.run)