mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-01 17:49:03 +02:00
Integrate obj_includelib into its only caller.
This commit is contained in:
@@ -3341,15 +3341,6 @@ CONSTSTUB(AssocArrayLiteralExp);
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void obj_includelib(const char* lib)
|
||||
{
|
||||
size_t n = strlen(lib)+3;
|
||||
char *arg = static_cast<char *>(mem.malloc(n));
|
||||
strcpy(arg, "-l");
|
||||
strncat(arg, lib, n);
|
||||
global.params.linkswitches->push(arg);
|
||||
}
|
||||
|
||||
void backend_init()
|
||||
{
|
||||
// LLVM_D_InitRuntime is done in Module::genLLVMModule
|
||||
|
||||
Reference in New Issue
Block a user