From: Egbert Eich Date: Tue Jun 18 13:02:15 2024 +0200 Subject: Remove rpath test Patch-mainline: never Git-commit: 470db80c9f69c6a707570732c67a1550dbe19ca1 References: Signed-off-by: Egbert Eich Signed-off-by: Egbert Eich --- config/BuildSystem/config/setCompilers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: petsc-3.23.0/config/BuildSystem/config/setCompilers.py =================================================================== --- petsc-3.23.0.orig/config/BuildSystem/config/setCompilers.py +++ petsc-3.23.0/config/BuildSystem/config/setCompilers.py @@ -2554,7 +2554,7 @@ class Configure(config.base.Configure): testFlags = [] # test '-R' before '-rpath' as sun compilers [c,fortran] don't give proper errors with wrong options. elif not Configure.isDarwin(self.log): - testFlags = ['-Wl,-rpath,', '-R','-rpath ' , '-Wl,-R,'] + testFlags = [] else: testFlags = ['-Wl,-rpath,'] # test '-R' before '-Wl,-rpath' for SUN compilers [as cc on linux accepts -Wl,-rpath, but f90 & CC do not.