[Numpy-svn] r5983 - trunk/numpy/distutils

numpy-svn@scip... numpy-svn@scip...
Fri Nov 7 01:46:55 CST 2008


Author: cdavid
Date: 2008-11-07 01:46:47 -0600 (Fri, 07 Nov 2008)
New Revision: 5983

Modified:
   trunk/numpy/distutils/system_info.py
Log:
Deal with g3f extension used by Debian/Ubuntu for gfortrab ABI transition.

Modified: trunk/numpy/distutils/system_info.py
===================================================================
--- trunk/numpy/distutils/system_info.py	2008-11-06 21:24:37 UTC (rev 5982)
+++ trunk/numpy/distutils/system_info.py	2008-11-07 07:46:47 UTC (rev 5983)
@@ -518,6 +518,10 @@
             exts.append('.dll.a')
         if sys.platform == 'darwin':
             exts.append('.dylib')
+        # Debian and Ubuntu added a g3f suffix to shared library to deal with
+        # g77 -> gfortran ABI transition
+        if sys.platform[:5] == 'linux':
+            exts.append('.so.g3f')
         return exts
 
     def check_libs(self,lib_dir,libs,opt_libs =[]):



More information about the Numpy-svn mailing list