summaryrefslogtreecommitdiffstats
path: root/test/SWIG
diff options
context:
space:
mode:
authorDaniel Moody <dmoody256@gmail.com>2018-05-25 20:26:39 (GMT)
committerDaniel Moody <dmoody256@gmail.com>2018-05-25 20:26:39 (GMT)
commitd1ad2461b0c9f8a9a19f7509b8334d46bf9f3391 (patch)
tree0cd997b922905342a04bea2c23a3608cde748c9d /test/SWIG
parentcd53a8f8f59ac6d0400d21044c09c50e92792927 (diff)
downloadSCons-d1ad2461b0c9f8a9a19f7509b8334d46bf9f3391.zip
SCons-d1ad2461b0c9f8a9a19f7509b8334d46bf9f3391.tar.gz
SCons-d1ad2461b0c9f8a9a19f7509b8334d46bf9f3391.tar.bz2
pr-3052: Needed to define target arch in the non-windows case
Diffstat (limited to 'test/SWIG')
-rw-r--r--test/SWIG/recursive-includes-cpp.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/SWIG/recursive-includes-cpp.py b/test/SWIG/recursive-includes-cpp.py
index 738b6c1..8fbe7c0 100644
--- a/test/SWIG/recursive-includes-cpp.py
+++ b/test/SWIG/recursive-includes-cpp.py
@@ -68,12 +68,14 @@ test.write("mod.i", """\
#include "main.h"
""")
+
if sys.platform == 'win32':
if(sys.maxsize > 2**32):
TARGET_ARCH = "TARGET_ARCH = 'x86_64',"
else:
TARGET_ARCH = "TARGET_ARCH = 'x86',"
-
+else:
+ TARGET_ARCH = ""
test.write('SConstruct', """\
import distutils.sysconfig
import sys