libkeyfinder: don't set LD_LIBRARY_PATH

This commit is contained in:
Robert Schütz 2021-02-04 21:17:25 +01:00
parent d4c4ee145b
commit 85e8220aa7

View file

@ -11,10 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "005qq81xfzi1iifvpgkqpizxcrfisafq2r0cjp4fxqh1ih7bfimv";
};
# needed for linking libkeyfinder.so into keyfinder-tests executable
preBuild = ''
export LD_LIBRARY_PATH=$(pwd)
'';
# needed for finding libkeyfinder.so to link it into keyfinder-tests executable
cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=OFF" ];
nativeBuildInputs = [ cmake ];