Merge pull request #22848 from loskutov/gpgme-macos-fix

gpgme: fix build on macOS
This commit is contained in:
Graham Christensen 2017-03-03 14:48:10 -05:00 committed by GitHub
commit 75bc511222

View File

@ -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";