volk: fix darwin build

This commit is contained in:
Eduardo Sánchez Muñoz 2021-06-28 20:47:28 +02:00
parent a8c0b77793
commit a54553eff6

View File

@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
};
cmakeFlags = lib.optionals (!enableModTool) [ "-DENABLE_MODTOOL=OFF" ];
postInstall = ''
postInstall = lib.optionalString (!stdenv.isDarwin) ''
${removeReferencesTo}/bin/remove-references-to -t ${stdenv.cc} $(readlink -f $out/lib/libvolk.so)
'';