Commit 560ea96b authored by Ben Siraphob's avatar Ben Siraphob
Browse files

bayescan: fix cross

parent 5eecbe3b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 = ''