xmlsec: fix linkage, probably after #909

This fixes builds of (some) reverse dependencies, e.g. aqbanking.
This commit is contained in:
Vladimír Čunát 2016-03-29 12:14:31 +02:00
parent 572a723ee5
commit e69306c463

View File

@ -16,6 +16,9 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
doCheck = true;
# otherwise libxmlsec1-gnutls.so won't find libgcrypt.so, after #909
NIX_LDFLAGS = [ "-lgcrypt" ];
postFixup = ''
wrapProgram "$out/bin/xmlsec1" --prefix LD_LIBRARY_PATH ":" "$out/lib"
'';