&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"),
+ GENERAL_ARG('R', "rpath", N_("Add DIR to runtime search path"),
N_("-R DIR, -rpath DIR"), ONE_DASH,
&General_options::add_to_rpath),
GENERAL_NOARG('\0', "eh-frame-hdr", N_("Create exception frame header"),
NULL, TWO_DASHES, &General_options::create_eh_frame_hdr),
+ GENERAL_ARG('\0', "rpath-link",
+ N_("Add DIR to link time shared library search path"),
+ N_("--rpath-link DIR"), TWO_DASHES,
+ &General_options::add_to_rpath_link),
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"),
is_relocatable_(false),
create_eh_frame_hdr_(false),
rpath_(),
+ rpath_link_(),
is_shared_(false),
is_static_(false)
{