petsc/petsc-3.7-no-rpath.patch

16 lines
661 B
Diff
Raw Normal View History

2016-10-24 17:59:33 +00:00
---
config/BuildSystem/config/setCompilers.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- config/BuildSystem/config/setCompilers.py
+++ config/BuildSystem/config/setCompilers.py
@@ -1387,7 +1387,7 @@
self.pushLanguage(language)
# test '-R' before '-rpath' as sun compilers [c,fortran] don't give proper errors with wrong options.
if 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.