diff options
Diffstat (limited to 'include/plugin-api.h')
-rw-r--r-- | include/plugin-api.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/plugin-api.h b/include/plugin-api.h index 55cfe25..a0cf5f4 100644 --- a/include/plugin-api.h +++ b/include/plugin-api.h @@ -228,6 +228,12 @@ typedef enum ld_plugin_status (*ld_plugin_add_input_library) (const char *libname); +/* The linker's interface for adding a library path that should be searched. */ + +typedef +enum ld_plugin_status +(*ld_plugin_set_extra_library_path) (const char *path); + /* The linker's interface for issuing a warning or error message. */ typedef @@ -261,7 +267,8 @@ enum ld_plugin_tag LDPT_GET_INPUT_FILE, LDPT_RELEASE_INPUT_FILE, LDPT_ADD_INPUT_LIBRARY, - LDPT_OUTPUT_NAME + LDPT_OUTPUT_NAME, + LDPT_SET_EXTRA_LIBRARY_PATH }; /* The plugin transfer vector. */ @@ -283,6 +290,7 @@ struct ld_plugin_tv ld_plugin_get_input_file tv_get_input_file; ld_plugin_release_input_file tv_release_input_file; ld_plugin_add_input_library tv_add_input_library; + ld_plugin_set_extra_library_path tv_set_extra_library_path; } tv_u; }; |