bayescan: fix cross

This commit is contained in:
Ben Siraphob
2025-11-17 02:43:08 -05:00
parent 5eecbe3b20
commit 560ea96bb6

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 = ''