git.iko.soy/typeable/nixpkgs
on master help sign in
gnupg21: Add -lintl on Darwin systems
commit113986f07a9786a58caeb232491463a4870dcf0c authorJohn Wiegley <johnw@newartisans.com> dateTue 22 Nov 2016, 09:00 (10 years ago) parent682bb54
1 file changed+2
pkgs/tools/security/gnupg/21.nix+2
pkgs/tools/security/gnupg/21.nix+2
@@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
2727 readline libusb gnutls adns openldap zlib bzip2
2828 ];
2929
30+ NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
31+
3032 patches = [ ./fix-libusb-include-path.patch ];
3133 postPatch = stdenv.lib.optionalString stdenv.isLinux ''
3234 sed -i 's,"libpcsclite\.so[^"]*","${pcsclite}/lib/libpcsclite.so",g' scd/scdaemon.c