Branch: refs/heads/remove_rpath
Home:
https://github.com/kronosnet/kronosnet
Commit: 7b90d3ae9728668da2812fbcd0fa4a7d96032162
https://github.com/kronosnet/kronosnet/commit/7b90d3ae9728668da2812fbcd0fa4…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2021-04-21 (Wed, 21 Apr 2021)
Changed paths:
M libknet/Makefile.am
M libknet/common.c
M libknet/handle.c
M libknet/internals.h
M libknet/tests/Makefile.am
M libknet/tests/test-common.c
Log Message:
-----------
[lib] Don't use -rpath
rpath seems 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.