mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
gnutls: More hacks to .la files
Some .la files contain '-lgmp' without a corresponding -L entry, breaking e.g. glib-networking and NetworkManager.
This commit is contained in:
parent
ca2cb493fa
commit
fb4c2eb438
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue