diff options
author | Graham Christensen <graham@grahamc.com> | 2017-03-03 14:48:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-03 14:48:10 -0500 |
commit | 75bc511222e9b8cc66ec4ccd967ca3c6d2d1f5d4 (patch) | |
tree | 403ddca6b5126d830815ec2d5d2ffca3730bb22b /pkgs/development | |
parent | 0297fdc76495ce1b9301ab49fe2281a20e13174c (diff) | |
parent | d1a9f2e8be9624e06d42714a107d2b8288945d12 (diff) |
Merge pull request #22848 from loskutov/gpgme-macos-fix
gpgme: fix build on macOS
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/libraries/gpgme/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gpgme/default.nix b/pkgs/development/libraries/gpgme/default.nix index 307fde4e5c27..2ab0977004c4 100644 --- a/pkgs/development/libraries/gpgme/default.nix +++ b/pkgs/development/libraries/gpgme/default.nix @@ -30,6 +30,9 @@ stdenv.mkDerivation rec { NIX_CFLAGS_COMPILE = with stdenv; lib.optional (system == "i686-linux") "-D_FILE_OFFSET_BITS=64"; + AM_CXXFLAGS = + with stdenv; lib.optional (isDarwin) "-D_POSIX_C_SOURCE=200809L"; + meta = with stdenv.lib; { homepage = "http://www.gnupg.org/related_software/gpgme"; description = "Library for making GnuPG easier to use"; |