libffi on FreeBSD: remove unsupported "-r" option to ln

Done without changing hashes on other platforms.
Sometimes I forget that GNU's not UNIX.
wip/yesman
Vladimír Čunát 11 years ago
parent 1ac7ba823d
commit 3036e86284
  1. 2
      pkgs/development/libraries/libffi/default.nix

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
postInstall =
# Install headers in the right place.
'' ln -srv "$out/lib/"libffi*/include "$out/include"
'' ln -s${if stdenv.isFreeBSD then "" else "r"}v "$out/lib/"libffi*/include "$out/include"
'';
meta = {

Loading…
Cancel
Save