[Numpy-svn] r6159 - branches/numpy-mingw-w64/numpy/distutils

numpy-svn at scipy.org numpy-svn at scipy.org
Fri Dec 19 03:56:57 EST 2008


Author: cdavid
Date: 2008-12-19 02:56:54 -0600 (Fri, 19 Dec 2008)
New Revision: 6159

Modified:
   branches/numpy-mingw-w64/numpy/distutils/mingw32ccompiler.py
Log:
Add a warning if no symbols found in the dll (if stripped, for example).

Modified: branches/numpy-mingw-w64/numpy/distutils/mingw32ccompiler.py
===================================================================
--- branches/numpy-mingw-w64/numpy/distutils/mingw32ccompiler.py	2008-12-19 08:53:49 UTC (rev 6158)
+++ branches/numpy-mingw-w64/numpy/distutils/mingw32ccompiler.py	2008-12-19 08:56:54 UTC (rev 6159)
@@ -243,6 +243,9 @@
         else:
             break
 
+    if len(syms) == 0:
+        log.warn('No symbols found in %s' % dll)
+
     d = open(dfile, 'w')
     d.write('LIBRARY        %s\n' % dll)
     d.write(';CODE          PRELOAD MOVEABLE DISCARDABLE\n')




More information about the Numpy-svn mailing list