HomeClusterLabs Projects

Use LD_LIBRARY_PATH to find the build tree artifacts and disable RPATH across…

Description

Use LD_LIBRARY_PATH to find the build tree artifacts and disable RPATH across the project

The libtool wrapper scripts of the test binaries set LD_LIBRARY_PATH to
find the libknet library and its modules in the build tree, but RPATH
overrides this setting. This is why RPATH is deprecated, so we switch
to RUNPATH instead by using --enable-new-dtags, which is already the
linker default on Debian for example.

Based on the original patch from Ferenc.

Signed-off-by: Ferenc Wágner <wferi@debian.org>
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>

Details

Provenance
fabbioneAuthored on Jan 19 2018, 7:42 AM
Parents
rKfa4a1b9956bc: tests: check for exported symbols in the data section as well
Branches
Unknown
Tags
Unknown

Event Timeline