libgcrypt: Fix darwin build
This commit is contained in:
parent
26c37ded73
commit
0b3af3074e
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
|
|||
# Also make sure includes are fixed for callers who don't use libgpgcrypt-config
|
||||
postInstall = ''
|
||||
sed -i 's,#include <gpg-error.h>,#include "${libgpgerror}/include/gpg-error.h",g' $out/include/gcrypt.h
|
||||
'' + stdenv.lib.optionalString (optLibcap != null) ''
|
||||
'' + stdenv.lib.optionalString (!stdenv.isDarwin && optLibcap != null) ''
|
||||
sed -i 's,\(-lcap\),-L${optLibcap}/lib \1,' $out/lib/libgcrypt.la
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue