Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Upstream-Status: Pending |
| 2 | |
| 3 | # Some versions of SWIG do not use the extension parameter. |
| 4 | # Make it optional. |
| 5 | # Signed-Off: Michael 'Mickey' Lauer <mickey@vanille-media.de> |
| 6 | Index: Python-2.6.1/Lib/distutils/command/build_ext.py |
| 7 | =================================================================== |
| 8 | --- Python-2.6.1.orig/Lib/distutils/command/build_ext.py |
| 9 | +++ Python-2.6.1/Lib/distutils/command/build_ext.py |
| 10 | @@ -566,7 +566,7 @@ class build_ext (Command): |
| 11 | target_lang=language) |
| 12 | |
| 13 | |
| 14 | - def swig_sources (self, sources, extension): |
| 15 | + def swig_sources (self, sources, extension=None): |
| 16 | |
| 17 | """Walk the list of source files in 'sources', looking for SWIG |
| 18 | interface (.i) files. Run SWIG on all that are found, and |