If I supply a path to an LLVM installation with ./configure --with-llvm="$HOME/llvm-18/" --disable-trans-assert --cache=.cache --prefix="$HOME/creduce-install/", the built clang_delta binary's dynamic linkage to libclang-cpp.so is broken.
This patch adds -rpath to the linker flags for clang_delta. After the change, I ran
./bootstrap
./configure --with-llvm="$HOME/llvm-18/" --disable-trans-assert --cache=.cache --prefix="$HOME/creduce-install/"
make -j $(nproc)
make install
…ed on a system path
If I supply a path to an LLVM installation with
./configure --with-llvm="$HOME/llvm-18/" --disable-trans-assert --cache=.cache --prefix="$HOME/creduce-install/"
, the builtclang_delta
binary's dynamic linkage tolibclang-cpp.so
is broken.This patch adds
-rpath
to the linker flags forclang_delta
. After the change, I ranAnd ran
ldd clang_delta