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:
parent
774324ae76
commit
24c765c744
|
@ -26,6 +26,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DENABLE_TESTS=OFF"
|
"-DENABLE_TESTS=OFF"
|
||||||
|
"-DLINKER_NAME=gold" # lld is not wrapped with ld-wrapper.sh, does not set rpath.
|
||||||
"-DUNBUNDLED=ON"
|
"-DUNBUNDLED=ON"
|
||||||
"-DUSE_STATIC_LIBRARIES=OFF"
|
"-DUSE_STATIC_LIBRARIES=OFF"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue