summaryrefslogtreecommitdiffstats
path: root/waftools
diff options
context:
space:
mode:
authorRicardo Constantino <wiiaboo@gmail.com>2017-02-19 03:28:56 +0000
committerRicardo Constantino <wiiaboo@gmail.com>2017-02-19 03:34:27 +0000
commite69b69add383625275527228535e0a828fe5f255 (patch)
tree965033aa4105f477aba9e5d07a7efdf26fd33fbb /waftools
parent55834d70e613cb3ff1035260dd6a7361a097c9ee (diff)
downloadmpv-e69b69add383625275527228535e0a828fe5f255.tar.bz2
mpv-e69b69add383625275527228535e0a828fe5f255.tar.xz
waf: fix linking of win32 console wrapper
Broken with waf 1.9.8 update. Not noticed right away if previous waf version was present.
Diffstat (limited to 'waftools')
-rw-r--r--waftools/waf_customizations.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/waftools/waf_customizations.py b/waftools/waf_customizations.py
index fb5f130276..f264f9cb86 100644
--- a/waftools/waf_customizations.py
+++ b/waftools/waf_customizations.py
@@ -34,12 +34,12 @@ def build(ctx):
cls = Task.classes['cprogram']
class cprogram(cls):
try:
- run_str = cls.orig_run_str + '${LAST_LINKFLAGS}'
+ run_str = cls.orig_run_str + ' ${LAST_LINKFLAGS}'
except AttributeError:
try:
- run_str = cls.hcode + '${LAST_LINKFLAGS}'
+ run_str = cls.hcode + ' ${LAST_LINKFLAGS}'
except TypeError:
- run_str = cls.hcode.decode('iso8859-1') + '${LAST_LINKFLAGS}'
+ run_str = cls.hcode.decode('iso8859-1') + ' ${LAST_LINKFLAGS}'
cls = Task.classes['macplist']
class macplist(cls):