mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
gnupg21: Add -lintl on Darwin systems
This commit is contained in:
parent
682bb54cc4
commit
113986f07a
@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
|
||||
readline libusb gnutls adns openldap zlib bzip2
|
||||
];
|
||||
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
||||
|
||||
patches = [ ./fix-libusb-include-path.patch ];
|
||||
postPatch = stdenv.lib.optionalString stdenv.isLinux ''
|
||||
sed -i 's,"libpcsclite\.so[^"]*","${pcsclite}/lib/libpcsclite.so",g' scd/scdaemon.c
|
||||
|
Loading…
Reference in New Issue
Block a user