Mercurial > projects > ldc
comparison gen/toir.cpp @ 659:43d2ab9833bf
Forgot a change from DMD update.
Removed old Phobos rebuild profiles.
Updated Tango rebuild profile slightly.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Mon, 06 Oct 2008 16:22:54 +0200 |
parents | a15ccbf7451d |
children | 0d934394ada1 |
comparison
equal
deleted
inserted
replaced
658:50383e476c7e | 659:43d2ab9833bf |
---|---|
2601 { | 2601 { |
2602 assert(0); | 2602 assert(0); |
2603 return 0; | 2603 return 0; |
2604 } | 2604 } |
2605 | 2605 |
2606 void obj_includelib(char* lib) | 2606 void obj_includelib(const char* lib) |
2607 { | 2607 { |
2608 char *arg = (char *)mem.malloc(64); | 2608 char *arg = (char *)mem.malloc(64); |
2609 strcpy(arg, "-l"); | 2609 strcpy(arg, "-l"); |
2610 strncat(arg, lib, 64); | 2610 strncat(arg, lib, 64); |
2611 global.params.linkswitches->push(arg); | 2611 global.params.linkswitches->push(arg); |