mpfr: add gmp to LDFLAGS
commita8ea864ff20f5a10bd309a602ae34e82ba826f73
authorJohn Wiegley <johnw@newartisans.com>
dateFri 2 Jan 2015, 14:46 (12 years ago)
parentbdf18c1
pkgs/development/libraries/mpfr/default.nix+1
@@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
1111 buildInputs = [ gmp ];
1212
1313 CFLAGS = "-I${gmp}/include";
14+ LDFLAGS = if stdenv.isDarwin then "-L${gmp}/lib" else null;
1415
1516 configureFlags =
1617 /* Work around a FreeBSD bug that otherwise leads to segfaults in the test suite: