Skip to content

Commit

Permalink
gnutls: drop -lunistring on Darwin as well
Browse files Browse the repository at this point in the history
I didn't intend this substitution to be conditional; I looked wrong.
  • Loading branch information
vcunat committed Feb 22, 2017
1 parent 2f1945d commit d6cff57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/development/libraries/gnutls/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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" ""
Expand Down

0 comments on commit d6cff57

Please sign in to comment.