From e69b69add383625275527228535e0a828fe5f255 Mon Sep 17 00:00:00 2001 From: Ricardo Constantino Date: Sun, 19 Feb 2017 03:28:56 +0000 Subject: waf: fix linking of win32 console wrapper Broken with waf 1.9.8 update. Not noticed right away if previous waf version was present. --- waftools/waf_customizations.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'waftools/waf_customizations.py') 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): -- cgit v1.2.3