mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
Merge pull request #208461 from wegank/openfec-darwin
openfec: fix runtime error on darwin
This commit is contained in:
commit
39bc9634f6
@ -27,6 +27,9 @@ stdenv.mkDerivation rec {
|
||||
find $dev/include -type f -a ! -iname '*.h' -delete
|
||||
|
||||
install -D -m755 -t $out/lib ../bin/Release/libopenfec${so}
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
install_name_tool -id $out/lib/libopenfec${so} $out/lib/libopenfec${so}
|
||||
'' + ''
|
||||
ln -s libopenfec${so} $out/lib/libopenfec${so}.1
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user