summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/common/create_execution_api.hpp
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2023-09-27 17:04:45 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-09-28 12:58:09 +0200
commit2887d6553ff6948517e309819d2a0d8425842b19 (patch)
treeb55a8446dab58d68c4b25a6619a77017884aef99 /src/buildtool/execution_api/common/create_execution_api.hpp
parent031d56a2d4ef7ef568be6ecda9a0426dae2ea967 (diff)
downloadjustbuild-2887d6553ff6948517e309819d2a0d8425842b19.tar.gz
["CC/pkgconfig", "system_library"] Add -rpath
When a shared library is picked up from the host system via pkg-config that is located at a non-standard location, binaries linked against this library by a standard linker either need LD_LIBRARY_PATH set appropriately, or -rpath set at link time. However, not all custom installations set -rpath in the link flags in their pkg-config file. Therefore, in order to get working binaries (and not have to set custom paths in tests), add a -rpath for every -L option found in the ldflags provided by pkg-config.
Diffstat (limited to 'src/buildtool/execution_api/common/create_execution_api.hpp')
0 files changed, 0 insertions, 0 deletions