xmlsec: fix linkage, probably after #909
This fixes builds of (some) reverse dependencies, e.g. aqbanking.
commite69306c46394f98e8ae53dd21dea3d0495a90780
authorVladimír Čunát <vcunat@gmail.com>
dateTue 29 Mar 2016, 12:14 (11 years ago)
parent572a723
pkgs/development/libraries/xmlsec/default.nix+3
@@ -16,6 +16,9 @@ stdenv.mkDerivation rec {
1616 enableParallelBuilding = true;
1717 doCheck = true;
1818
19+ # otherwise libxmlsec1-gnutls.so won't find libgcrypt.so, after #909
20+ NIX_LDFLAGS = [ "-lgcrypt" ];
21+
1922 postFixup = ''
2023 wrapProgram "$out/bin/xmlsec1" --prefix LD_LIBRARY_PATH ":" "$out/lib"
2124 '';