mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
gnutls: drop -lunistring on Darwin as well
I didn't intend this substitution to be conditional; I looked wrong.
This commit is contained in:
@@ -58,6 +58,7 @@ stdenv.mkDerivation {
|
||||
-e 's,-L${gmp.dev}/lib,-L${gmp.out}/lib,' \
|
||||
-e 's,-lgmp,-L${gmp.out}/lib -lgmp,' \
|
||||
-i $out/lib/*.la "$dev/lib/pkgconfig/gnutls.pc"
|
||||
'' + ''
|
||||
# It seems only useful for static linking but basically noone does that.
|
||||
substituteInPlace "$out/lib/libgnutls.la" \
|
||||
--replace "-lunistring" ""
|
||||
|
||||
Reference in New Issue
Block a user