mpfr: move gmp to propagatedBuildInputs
This commit is contained in:
parent
5872185250
commit
723b60805e
@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0sqvpfkzamxdr87anzakf9dhkfh15lfmm5bsqajk02h1mxh3zivr";
|
sha256 = "0sqvpfkzamxdr87anzakf9dhkfh15lfmm5bsqajk02h1mxh3zivr";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ gmp ];
|
# mpfr.h requires gmp.h
|
||||||
|
propagatedBuildInputs = [ gmp ];
|
||||||
|
|
||||||
CFLAGS = "-I${gmp}/include";
|
CFLAGS = "-I${gmp}/include";
|
||||||
LDFLAGS = if stdenv.isDarwin then "-L${gmp}/lib" else null;
|
LDFLAGS = if stdenv.isDarwin then "-L${gmp}/lib" else null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user