* emultempl/sunos.em: Only look for .so files if doing a dynamic
link.
This commit is contained in:
parent
90f6517da9
commit
b6ef97506c
@ -82,7 +82,8 @@ gld${EMULATION_NAME}_before_parse()
|
|||||||
static void
|
static void
|
||||||
gld${EMULATION_NAME}_create_output_section_statements ()
|
gld${EMULATION_NAME}_create_output_section_statements ()
|
||||||
{
|
{
|
||||||
lang_for_each_input_file (gld${EMULATION_NAME}_find_so);
|
if (config.dynamic_link)
|
||||||
|
lang_for_each_input_file (gld${EMULATION_NAME}_find_so);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Search the directory for a .so file for each library search. */
|
/* Search the directory for a .so file for each library search. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user