openfec: fix runtime error on darwin
This commit is contained in:
parent
0ad5b19765
commit
9fcf50f726
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue