bayescan: fix cross (#462506)

This commit is contained in:
Aleksana
2025-11-17 13:47:19 +00:00
committed by GitHub
+2 -2
View File
@@ -24,8 +24,8 @@ stdenv.mkDerivation rec {
sourceRoot = "BayeScan${version}/source";
postPatch = ''
substituteInPlace Makefile --replace "-static" "" \
--replace "g++" "c++"
substituteInPlace Makefile --replace-fail "-static" "" \
--replace-fail "g++" "${stdenv.cc.targetPrefix}c++"
'';
installPhase = ''