1
0
Fork 1
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:
John Wiegley 2015-01-02 14:46:51 -06:00 committed by Shea Levy
parent bdf18c1044
commit a8ea864ff2

View file

@ -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: