Unverified Commit dbe18835 authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

kakoune: fix statically-linked and cross-compiled build (#422416)

parents 11750d73 3bef6e06
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ stdenv.mkDerivation (finalAttrs: {
    rev = "v${finalAttrs.version}";
    hash = "sha256-AJvh6NVFpbPsyzfeii/5muE+i4TwfxhwhDVgMLYOJCM=";
  };

  makeFlags = [
    "debug=no"
    "PREFIX=${placeholder "out"}"
@@ -23,6 +24,9 @@ stdenv.mkDerivation (finalAttrs: {
  '';

  enableParallelBuilding = true;
  preBuild = ''
    appendToVar makeFlags "CXX=$CXX"
  '';

  doInstallCheck = true;
  installCheckPhase = ''