git.iko.soy/typeable/nixpkgs
on master help sign in
mpfr: add gmp to LDFLAGS
a8ea864John Wiegley
pkgs/development/libraries/mpfr/default.nix+1
@@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
11 buildInputs = [ gmp ];
11 buildInputs = [ gmp ];
12
12
13 CFLAGS = "-I${gmp}/include";
13 CFLAGS = "-I${gmp}/include";
14+ LDFLAGS = if stdenv.isDarwin then "-L${gmp}/lib" else null;
14
15
15 configureFlags =
16 configureFlags =
16 /* Work around a FreeBSD bug that otherwise leads to segfaults in the test suite:
17 /* Work around a FreeBSD bug that otherwise leads to segfaults in the test suite: