libtomcrypt: fix cross build (#375569)

This commit is contained in:
Colin
2025-01-24 20:32:59 +00:00
committed by GitHub
+4 -3
View File
@@ -24,13 +24,14 @@ stdenv.mkDerivation rec {
})
];
nativeBuildInputs = [
libtool
buildInputs = [
libtommath
];
postPatch = ''
substituteInPlace makefile.shared --replace "LIBTOOL:=glibtool" "LIBTOOL:=libtool"
substituteInPlace makefile.shared \
--replace-fail "LIBTOOL:=glibtool" "LIBTOOL:=libtool" \
--replace-fail libtool "${lib.getExe libtool}"
'';
preBuild = ''