diff options
Diffstat (limited to 'numpy/distutils/mingw32ccompiler.py')
-rw-r--r-- | numpy/distutils/mingw32ccompiler.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/distutils/mingw32ccompiler.py b/numpy/distutils/mingw32ccompiler.py index 3b7be6343..cdbd9462a 100644 --- a/numpy/distutils/mingw32ccompiler.py +++ b/numpy/distutils/mingw32ccompiler.py @@ -243,6 +243,9 @@ def generate_def(dll, dfile): 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') |