so_runpath directive
In this section:
Syntax
so_runpath "path";
Parameters
| The |
Description
Use this directive to set up where the dynamic linker searches for shared objects. runpath is searched after the standard include paths.
Example
so_runpath "./shared";
This sets runpath to ./shared. See the documentation for the dynamic linker for the exact details of how to set up runpath.