diff options
author | Ian Lance Taylor <iant@google.com> | 2007-08-21 20:37:32 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-08-21 20:37:32 +0000 |
commit | 41f542e70b89b9ea2875c438b0c9a60ac46092dd (patch) | |
tree | e731637699fca298f82185865790dd38321e4f69 /gold/options.cc | |
parent | fcb7aa2f6b17eb5211fe4d361eab8d985c40065e (diff) | |
download | gdb-41f542e70b89b9ea2875c438b0c9a60ac46092dd.zip gdb-41f542e70b89b9ea2875c438b0c9a60ac46092dd.tar.gz gdb-41f542e70b89b9ea2875c438b0c9a60ac46092dd.tar.bz2 |
Add support for -rpath.
Diffstat (limited to 'gold/options.cc')
-rw-r--r-- | gold/options.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/options.cc b/gold/options.cc index b8339e8..36e0044 100644 --- a/gold/options.cc +++ b/gold/options.cc @@ -244,6 +244,9 @@ options::Command_line_options::options[] = &General_options::set_output_file_name), GENERAL_NOARG('r', NULL, N_("Generate relocatable output"), NULL, ONE_DASH, &General_options::set_relocatable), + GENERAL_ARG('R', "rpath", N_("Add directory to runtime search path"), + N_("-R DIR, -rpath DIR"), ONE_DASH, + &General_options::add_to_rpath), GENERAL_NOARG('\0', "shared", N_("Generate shared library"), NULL, ONE_DASH, &General_options::set_shared), GENERAL_NOARG('\0', "static", N_("Do not link against shared libraries"), |