Skip to content

Commit 633cd02

Browse files
authored
python312Packages.petsc4py: fix python installLibPath (#385915)
2 parents 6160515 + 27127eb commit 633cd02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgs/by-name/pe/petsc/fix-petsc4py-install-prefix.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ index 4a58243..831aa04 100644
77
def Install(self):
88
import os
99
- installLibPath = os.path.join(self.installDir, 'lib')
10-
+ installLibPath = os.path.join(self.installDir, 'lib', '@PYTHON_SITEPACKAGES@')
10+
+ installLibPath = os.path.join(self.installDir, '@PYTHON_SITEPACKAGES@')
1111
if self.setCompilers.isDarwin(self.log):
1212
apple = 'You may need to\n (csh/tcsh) setenv MACOSX_DEPLOYMENT_TARGET 10.X\n (sh/bash) MACOSX_DEPLOYMENT_TARGET=10.X; export MACOSX_DEPLOYMENT_TARGET\nbefore running make on PETSc'
1313
else:

0 commit comments

Comments
 (0)