Merge pull request #36833 from knedlsepp/fix-petsc-on-darwin
petsc: fix darwin build
This commit is contained in:
commit
a431a65a2c
@ -16,6 +16,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ blas gfortran.cc.lib liblapack python ];
|
||||
|
||||
prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace config/install.py \
|
||||
--replace /usr/bin/install_name_tool install_name_tool
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
patchShebangs .
|
||||
configureFlagsArray=(
|
||||
|
Loading…
Reference in New Issue
Block a user