diff options
author | John Wiegley <johnw@newartisans.com> | 2015-01-02 14:46:51 -0600 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2015-01-03 07:53:07 -0500 |
commit | a8ea864ff20f5a10bd309a602ae34e82ba826f73 (patch) | |
tree | 579994e46c06bd58997147c37386f14d7fec2b85 /pkgs/development/libraries/mpfr | |
parent | bdf18c10445f19a0921f785f0c5ab89611b8e7ad (diff) |
mpfr: add gmp to LDFLAGS
Diffstat (limited to 'pkgs/development/libraries/mpfr')
-rw-r--r-- | pkgs/development/libraries/mpfr/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/libraries/mpfr/default.nix b/pkgs/development/libraries/mpfr/default.nix index d999ba0cda5c8..b8cabd01281f1 100644 --- a/pkgs/development/libraries/mpfr/default.nix +++ b/pkgs/development/libraries/mpfr/default.nix @@ -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: |