Executables append omnitrace library directory to LD_LIBRARY_PATH (#356)

- omnitrace-run, omnitrace-sample, and omnitrace-causal now automatically append the LD_LIBRARY_PATH with the directory containing the omnitrace libraries
  - this helps ensure that binary rewritten exes can resolve omnitrace-rt library location
This commit is contained in:
Jonathan R. Madsen
2024-07-02 18:55:37 -05:00
committed by GitHub
parent 0cf017251e
commit 18833a0a5e
5 changed files with 56 additions and 24 deletions
+3
View File
@@ -81,6 +81,9 @@ init_parser(parser_data&);
parser_data&
add_ld_preload(parser_data&);
parser_data&
add_ld_library_path(parser_data&);
parser_data&
add_core_arguments(parser_t&, parser_data&);