mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
Use correct gmp for cross-build
svn path=/nixpkgs/trunk/; revision=30288
This commit is contained in:
parent
adc111e85f
commit
0efee09246
@ -5,7 +5,7 @@ let
|
||||
staticFlags = if static then " --enable-static --disable-shared" else "";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "isl-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
@ -17,6 +17,9 @@ stdenv.mkDerivation {
|
||||
|
||||
dontDisableStatic = if static then true else false;
|
||||
configureFlags = "--with-gmp-prefix=${gmp}" + staticFlags;
|
||||
crossAttrs = {
|
||||
configureFlags = configureFlags + " --with-gmp-prefix=${gmp.hostDrv} ";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = http://www.kotnet.org/~skimo/isl/;
|
||||
|
Loading…
Reference in New Issue
Block a user