Branch: refs/heads/remove_rpath Home: https://github.com/kronosnet/kronosnet Commit: a83e226bb271346717937b988308a119bdf45880 https://github.com/kronosnet/kronosnet/commit/a83e226bb271346717937b988308a1... Author: Christine Caulfield ccaulfie@redhat.com Date: 2021-04-23 (Fri, 23 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.