summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-08-07 18:17:13 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-08-07 18:17:13 (GMT)
commit07f6e06d93b212b5c6aaf40067405dcc4d426d76 (patch)
tree3f021b3f1bc702a2a70db8a7d272b0c12e1becad /src/engine/SCons
parent3ed61160828b50e768c99fc70f41a6d115ea082f (diff)
downloadSCons-07f6e06d93b212b5c6aaf40067405dcc4d426d76.zip
SCons-07f6e06d93b212b5c6aaf40067405dcc4d426d76.tar.gz
SCons-07f6e06d93b212b5c6aaf40067405dcc4d426d76.tar.bz2
refer to cxx SCons.Tool and not c++
Diffstat (limited to 'src/engine/SCons')
-rw-r--r--src/engine/SCons/Tool/gxx.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Tool/gxx.py b/src/engine/SCons/Tool/gxx.py
index c5eb579..5bca179 100644
--- a/src/engine/SCons/Tool/gxx.py
+++ b/src/engine/SCons/Tool/gxx.py
@@ -41,7 +41,7 @@ import SCons.Tool
import SCons.Util
from . import gcc
-cplusplus = __import__(__package__+'.c++', globals(), locals(), ['*'])
+import cxx
compilers = ['g++']
@@ -52,7 +52,7 @@ def generate(env):
if 'CXX' not in env:
env['CXX'] = env.Detect(compilers) or compilers[0]
- cplusplus.generate(env)
+ cxx.generate(env)
# platform specific settings
if env['PLATFORM'] == 'aix':