summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Tool/aixlink.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/Tool/aixlink.py')
-rw-r--r--src/engine/SCons/Tool/aixlink.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/aixlink.py b/src/engine/SCons/Tool/aixlink.py
index 2deb1f1..5c3b383 100644
--- a/src/engine/SCons/Tool/aixlink.py
+++ b/src/engine/SCons/Tool/aixlink.py
@@ -44,7 +44,7 @@ cplusplus = __import__('c++', globals(), locals(), [])
def smart_linkflags(source, target, env, for_signature):
if cplusplus.iscplusplus(source):
- build_dir = env.subst('$BUILDDIR')
+ build_dir = env.subst('$BUILDDIR', target=target, source=source)
if build_dir:
return '-qtempinc=' + os.path.join(build_dir, 'tempinc')
return ''