vectorscan: fix cross-compile (#370171)

This commit is contained in:
Franz Pletz
2025-01-02 11:53:51 +01:00
committed by GitHub
+6
View File
@@ -23,6 +23,12 @@ stdenv.mkDerivation rec {
hash = "sha256-wz2oIhau/vjnri3LOyPZSCFAWg694FTLVt7+SZYEsL4=";
};
postPatch = ''
substituteInPlace cmake/build_wrapper.sh \
--replace-fail 'nm' '${stdenv.cc.targetPrefix}nm' \
--replace-fail 'objcopy' '${stdenv.cc.targetPrefix}objcopy'
'';
nativeBuildInputs = [
cmake
pkg-config