blob: a39247ce70aba85ff39309f909fbb09d536969ad [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001Upstream-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>
6Index: 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