3
0
Fork 0
forked from mirrors/nixpkgs

nspr: fix cross compilation

Fixes #50656
This commit is contained in:
eburimu 2018-11-20 21:25:28 -06:00 committed by Matthew Bauer
parent 4d8664e593
commit 4d10fb36d4

View file

@ -1,5 +1,6 @@
{ stdenv, fetchurl
, CoreServices ? null }:
, CoreServices ? null
, buildPackages }:
let version = "4.20"; in
@ -21,6 +22,8 @@ stdenv.mkDerivation {
substituteInPlace configure.in --replace '@executable_path/' "$out/lib/"
'';
HOST_CC = "cc";
depsBuildBuild = [ buildPackages.stdenv.cc ];
configureFlags = [
"--enable-optimize"
"--disable-debug"