git.iko.soy/typeable/nixpkgs
on master help sign in
bind: Fix references to openssl in *.la files
ff24ce2Tuomas Tynkkynen
pkgs/servers/dns/bind/default.nix+4
@@ -36,6 +36,10 @@ stdenv.mkDerivation rec {
36 postInstall = ''
36 postInstall = ''
37 moveToOutput bin/bind9-config $dev
37 moveToOutput bin/bind9-config $dev
38 moveToOutput bin/isc-config.sh $dev
38 moveToOutput bin/isc-config.sh $dev
39+
40+ for f in $out/lib/*.la; do
41+ sed -i $f -e 's|-L${openssl.dev}|-L${openssl.out}|g'
42+ done
39 '';
43 '';
40
44
41 meta = {
45 meta = {