--runpath=pathlist linker option
Specifies a list of paths to be added to the search paths in the dynamic section.
Where pathlist is a comma-separated list of paths. Do not include spaces between the comma and the path name when specifying multiple path names, for example, path1,path2,path3,…,pathn .
The Linux dynamic linker uses the search paths to locate the required shared objects.
You can use the GNU ld option --rpath as an alias for --runpath.