mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
mpfr: add gmp to LDFLAGS
This commit is contained in:
parent
bdf18c1044
commit
a8ea864ff2
|
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [ gmp ];
|
||||
|
||||
CFLAGS = "-I${gmp}/include";
|
||||
LDFLAGS = if stdenv.isDarwin then "-L${gmp}/lib" else null;
|
||||
|
||||
configureFlags =
|
||||
/* Work around a FreeBSD bug that otherwise leads to segfaults in the test suite:
|
||||
|
|
Loading…
Reference in a new issue