From 23cce8188bf4d14cd5b5ca37b5196f2cf7c620d7 Mon Sep 17 00:00:00 2001 From: Mikhail Glushenkov Date: Tue, 23 Feb 2010 09:04:18 +0000 Subject: [PATCH] Support '-install_name'. llvm-svn: 96917 --- llvm/tools/llvmc/plugins/Base/Base.td.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/llvm/tools/llvmc/plugins/Base/Base.td.in b/llvm/tools/llvmc/plugins/Base/Base.td.in index 1acd969d4ca8..284c5f95fbe4 100644 --- a/llvm/tools/llvmc/plugins/Base/Base.td.in +++ b/llvm/tools/llvmc/plugins/Base/Base.td.in @@ -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 : 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