libtomcrypt: fix cross build

This commit is contained in:
FliegendeWurst
2025-01-21 16:39:11 +01:00
parent cc6fd182f0
commit 5e27e9bb31
+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 = ''