From c1b202a2b82c1edf7b70654fef8089cacb992a82 Mon Sep 17 00:00:00 2001 From: Mikhail Glushenkov Date: Mon, 19 Apr 2010 17:25:38 +0000 Subject: Support .a files directly (without -l). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101789 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvmc/plugins/Base/Base.td.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/llvmc/plugins/Base/Base.td.in b/tools/llvmc/plugins/Base/Base.td.in index 3c4f4e9595..e04970fa5a 100644 --- a/tools/llvmc/plugins/Base/Base.td.in +++ b/tools/llvmc/plugins/Base/Base.td.in @@ -263,7 +263,7 @@ def llc : Tool< // Base class for linkers class llvm_gcc_based_linker : Tool< -[(in_language "object-code"), +[(in_language ["object-code", "static-library"]), (out_language "executable"), (output_suffix "out"), (command cmd_prefix), @@ -317,6 +317,7 @@ def LanguageMap : LanguageMap< LangToSuffixes<"llvm-assembler", ["ll"]>, LangToSuffixes<"llvm-bitcode", ["bc"]>, LangToSuffixes<"object-code", ["o", "*empty*"]>, + LangToSuffixes<"static-library", ["a", "lib"]>, LangToSuffixes<"executable", ["out"]> ]>; -- cgit v1.2.3