R: fix dylib install_name (#113002)
Co-authored-by: zseri <zseri.devel@ytrizja.de> Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
8dcc404e11
commit
5eabb050be
@ -33,7 +33,10 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
prePatch = lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace configure --replace "-install_name libR.dylib" "-install_name $out/lib/R/lib/libR.dylib"
|
||||
substituteInPlace configure \
|
||||
--replace "-install_name libRblas.dylib" "-install_name $out/lib/R/lib/libRblas.dylib" \
|
||||
--replace "-install_name libRlapack.dylib" "-install_name $out/lib/R/lib/libRlapack.dylib" \
|
||||
--replace "-install_name libR.dylib" "-install_name $out/lib/R/lib/libR.dylib"
|
||||
'';
|
||||
|
||||
dontDisableStatic = static;
|
||||
|
Loading…
Reference in New Issue
Block a user