Merge pull request #22848 from loskutov/gpgme-macos-fix
gpgme: fix build on macOS
This commit is contained in:
commit
75bc511222
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user