Branch: refs/heads/remove_rpath
Home:
https://github.com/kronosnet/kronosnet
Commit: 655f1832c55127ee2a89337c5105e6093bb15cb8
https://github.com/kronosnet/kronosnet/commit/655f1832c55127ee2a89337c5105e…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2021-04-24 (Sat, 24 Apr 2021)
Changed paths:
M libknet/Makefile.am
M libknet/common.c
M libknet/handle.c
M libknet/internals.h
M libknet/tests/test-common.c
Log Message:
-----------
[lib] Don't use -rpath
rpath seems, understandably, to annoy some analysis tools. We
use it to locate the crypto & compression plugins but libknet also needs
to use the plugins from the build-tree when running tests.
A simple way to do this is have the plugin directory as part of the knet
handle then we can override it in the test suite, which already does
'illegal' accesses to some handle fields.
OK, it's not the MOST elegant way of doing this perhaps, but it is
simple and effective.