Index: tools/swig/swig.py |
=================================================================== |
--- tools/swig/swig.py (revision 89310) |
+++ tools/swig/swig.py (working copy) |
@@ -25,6 +25,7 @@ |
dir_map = { |
'darwin': 'mac', |
'linux2': 'linux', |
+ 'linux3': 'linux', |
'win32': 'win', |
} |
# Swig documentation lies that platform macros are provided to swig |
@@ -32,6 +33,7 @@ |
platform_flags = { |
'darwin': '-DSWIGMAC', |
'linux2': '-DSWIGLINUX', |
+ 'linux3': '-DSWIGLINUX', |
'win32': '-DSWIGWIN', |
} |
swig_bin = os.path.join(swig_dir, dir_map[sys.platform], 'swig') |