gnutls: drop -lunistring on Darwin as well

I didn't intend this substitution to be conditional; I looked wrong.
This commit is contained in:
Vladimír Čunát 2017-02-22 17:44:06 +01:00
parent 2f1945dcd3
commit d6cff5783e
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -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" ""