diff options
author | Steven Knight <knight@baldmt.com> | 2009-01-08 16:40:36 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2009-01-08 16:40:36 (GMT) |
commit | f597546a9cad8a98434f63cde459b710646d3195 (patch) | |
tree | 30f3e59505971e2af3e8237581aca9e8435874c4 /src/engine/SCons/Tool/swig.py | |
parent | ca04c920d4ded4ec8f09ef3aecab02f5e195faae (diff) | |
download | SCons-f597546a9cad8a98434f63cde459b710646d3195.zip SCons-f597546a9cad8a98434f63cde459b710646d3195.tar.gz SCons-f597546a9cad8a98434f63cde459b710646d3195.tar.bz2 |
Issue 2279: Support $SWIGOUTDIR values with spaces in the
directory name. (Arve Knudsen)
Diffstat (limited to 'src/engine/SCons/Tool/swig.py')
-rw-r--r-- | src/engine/SCons/Tool/swig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/swig.py b/src/engine/SCons/Tool/swig.py index eb4ca79..08f8cd4 100644 --- a/src/engine/SCons/Tool/swig.py +++ b/src/engine/SCons/Tool/swig.py @@ -112,7 +112,7 @@ def generate(env): env['SWIGFLAGS'] = SCons.Util.CLVar('') env['SWIGCFILESUFFIX'] = '_wrap$CFILESUFFIX' env['SWIGCXXFILESUFFIX'] = '_wrap$CXXFILESUFFIX' - env['_SWIGOUTDIR'] = '${"-outdir " + str(SWIGOUTDIR)}' + env['_SWIGOUTDIR'] = r'${"-outdir \"%s\"" % SWIGOUTDIR}' env['SWIGPATH'] = [] env['SWIGINCPREFIX'] = '-I' env['SWIGINCSUFFIX'] = '' |