Skip to content

Commit

Permalink
gpgme: fix build on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
loskutov committed Feb 15, 2017
1 parent ace12f4 commit d1a9f2e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/libraries/gpgme/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit d1a9f2e

Please sign in to comment.