Merge pull request #136535 from veprbl/pr/blas_id_fix_cblas
blas: fix library id on darwin for cblas
This commit is contained in:
commit
3e8668d9e5
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ EOF
|
||||||
patchelf --set-rpath "$(patchelf --print-rpath $out/lib/libcblas${canonicalExtension}):${lib.getLib blasProvider}/lib" $out/lib/libcblas${canonicalExtension}
|
patchelf --set-rpath "$(patchelf --print-rpath $out/lib/libcblas${canonicalExtension}):${lib.getLib blasProvider}/lib" $out/lib/libcblas${canonicalExtension}
|
||||||
'' else if stdenv.hostPlatform.isDarwin then ''
|
'' else if stdenv.hostPlatform.isDarwin then ''
|
||||||
install_name_tool \
|
install_name_tool \
|
||||||
-id libcblas${canonicalExtension} \
|
-id $out/lib/libcblas${canonicalExtension} \
|
||||||
-add_rpath ${lib.getLib blasProvider}/lib \
|
-add_rpath ${lib.getLib blasProvider}/lib \
|
||||||
$out/lib/libcblas${canonicalExtension}
|
$out/lib/libcblas${canonicalExtension}
|
||||||
'' else "") + ''
|
'' else "") + ''
|
||||||
|
|
Loading…
Reference in a new issue