summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDaniel Moody <dmoody256@gmail.com>2018-05-25 20:25:08 (GMT)
committerDaniel Moody <dmoody256@gmail.com>2018-05-25 20:25:08 (GMT)
commitcd53a8f8f59ac6d0400d21044c09c50e92792927 (patch)
tree71ef1d154f878fbb606bc7c29eba2ba0a5199ff4 /test
parent0f83c3918a0acf84588902c6c3d3f28e764edb56 (diff)
downloadSCons-cd53a8f8f59ac6d0400d21044c09c50e92792927.zip
SCons-cd53a8f8f59ac6d0400d21044c09c50e92792927.tar.gz
SCons-cd53a8f8f59ac6d0400d21044c09c50e92792927.tar.bz2
pr-3052: made target arch transparent to non windows platforms
Diffstat (limited to 'test')
-rw-r--r--test/SWIG/recursive-includes-cpp.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/SWIG/recursive-includes-cpp.py b/test/SWIG/recursive-includes-cpp.py
index 2494c45..738b6c1 100644
--- a/test/SWIG/recursive-includes-cpp.py
+++ b/test/SWIG/recursive-includes-cpp.py
@@ -70,9 +70,9 @@ test.write("mod.i", """\
if sys.platform == 'win32':
if(sys.maxsize > 2**32):
- TARGET_ARCH = 'x86_64'
+ TARGET_ARCH = "TARGET_ARCH = 'x86_64',"
else:
- TARGET_ARCH = 'x86'
+ TARGET_ARCH = "TARGET_ARCH = 'x86',"
test.write('SConstruct', """\
import distutils.sysconfig
@@ -80,7 +80,7 @@ import sys
import os
env = Environment(
- TARGET_ARCH = '""" + TARGET_ARCH +"""',
+ """ + TARGET_ARCH + """
SWIGFLAGS = [
'-python'
],