clickhouse: fix rpath

ClickHouse sets LINKER_NAME to lld which is not yet wrapped with ld-wrapper.sh
and the results lack rpath needed to use the programs and libraries.
This commit is contained in:
Orivej Desh 2020-03-03 08:36:14 +00:00
parent 774324ae76
commit 24c765c744

View file

@ -26,6 +26,7 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DENABLE_TESTS=OFF"
"-DLINKER_NAME=gold" # lld is not wrapped with ld-wrapper.sh, does not set rpath.
"-DUNBUNDLED=ON"
"-DUSE_STATIC_LIBRARIES=OFF"
];