diff options
author | Daniel Moody <dmoody256@gmail.com> | 2018-05-25 20:26:39 (GMT) |
---|---|---|
committer | Daniel Moody <dmoody256@gmail.com> | 2018-05-25 20:26:39 (GMT) |
commit | d1ad2461b0c9f8a9a19f7509b8334d46bf9f3391 (patch) | |
tree | 0cd997b922905342a04bea2c23a3608cde748c9d /test/SWIG | |
parent | cd53a8f8f59ac6d0400d21044c09c50e92792927 (diff) | |
download | SCons-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.py | 4 |
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 |