mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
libffi on FreeBSD: remove unsupported "-r" option to ln
Done without changing hashes on other platforms. Sometimes I forget that GNU's not UNIX.
This commit is contained in:
parent
1ac7ba823d
commit
3036e86284
@ -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…
Reference in New Issue
Block a user