Support '-install_name'.
authorMikhail Glushenkov <foldr@codedgers.com>
Tue, 23 Feb 2010 09:04:18 +0000 (09:04 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Tue, 23 Feb 2010 09:04:18 +0000 (09:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96917 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvmc/plugins/Base/Base.td.in

index 1acd969d4ca8db3b972a0f3039c05849c42a0769..284c5f95fbe41d2f4fdb4c5de1263299587948ff 100644 (file)
@@ -105,6 +105,8 @@ def OptList : OptionList<[
      (help "Remove unreachable blocks of code")),
  (switch_option "single_module", (hidden),
      (help "Build the library so it contains only one module")),
+ (parameter_option "install_name", (hidden),
+     (help "File name the library will be installed in")),
  (parameter_option "compatibility_version", (hidden),
      (help "Compatibility version number")),
  (parameter_option "current_version", (hidden),
@@ -258,8 +260,8 @@ class llvm_gcc_based_linker <string cmd_prefix> : Tool<
           (switch_on "single_module"), (forward "single_module"),
           (not_empty "compatibility_version"),
                      (forward "compatibility_version"),
-          (not_empty "current_version"),
-                     (forward "current_version")))
+          (not_empty "current_version"), (forward "current_version"),
+          (not_empty "install_name"), (forward "install_name")))
 ]>;
 
 // Default linker