diff options
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2015-10-17 23:53:54 +0300 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2015-10-28 10:17:10 +0100 |
commit | fb4c2eb4383a79cd0612feb59ec9b4614e97e74c (patch) | |
tree | f841bbd6f5254b89179e039a394e9583fbc3226d | |
parent | ca2cb493fa9e49e62f22dd5ebd429852cc6b11dc (diff) | |
download | nixpkgs-fb4c2eb4383a79cd0612feb59ec9b4614e97e74c.tar nixpkgs-fb4c2eb4383a79cd0612feb59ec9b4614e97e74c.tar.gz nixpkgs-fb4c2eb4383a79cd0612feb59ec9b4614e97e74c.tar.bz2 nixpkgs-fb4c2eb4383a79cd0612feb59ec9b4614e97e74c.tar.lz nixpkgs-fb4c2eb4383a79cd0612feb59ec9b4614e97e74c.tar.xz nixpkgs-fb4c2eb4383a79cd0612feb59ec9b4614e97e74c.tar.zst nixpkgs-fb4c2eb4383a79cd0612feb59ec9b4614e97e74c.zip |
gnutls: More hacks to .la files
Some .la files contain '-lgmp' without a corresponding -L entry, breaking e.g. glib-networking and NetworkManager.
-rw-r--r-- | pkgs/development/libraries/gnutls/generic.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/gnutls/generic.nix b/pkgs/development/libraries/gnutls/generic.nix index 7b0d14b6835..cf1e0f9d578 100644 --- a/pkgs/development/libraries/gnutls/generic.nix +++ b/pkgs/development/libraries/gnutls/generic.nix @@ -46,7 +46,8 @@ stdenv.mkDerivation { sed ${lib.optionalString tpmSupport "-e 's,-ltspi,-L${trousers}/lib -ltspi,'"} \ -e 's,-lz,-L${zlib.out}/lib -lz,' \ -e 's,-L${gmp.dev}/lib,-L${gmp.out}/lib,' \ - -i "$out/lib/libgnutls.la" "$dev/lib/pkgconfig/gnutls.pc" + -e 's,-lgmp,-L${gmp.out}/lib -lgmp,' \ + -i $out/lib/*.la "$dev/lib/pkgconfig/gnutls.pc" ''; meta = with lib; { |