mg: fix cross-compilation
This commit is contained in:
parent
eed6535791
commit
da727b72c9
@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-qnb0yB/NNJV257dsLmP84brajoRG03U+Ja1ACYbBvbE=";
|
||||
};
|
||||
|
||||
postPatch = lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
|
||||
substituteInPlace configure --replace "./conftest" "echo"
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
makeFlags = [ "PKG_CONFIG=${buildPackages.pkg-config}/bin/${buildPackages.pkg-config.targetPrefix}pkg-config" ];
|
||||
|
Loading…
Reference in New Issue
Block a user