From 5ff4c60f4982ec44d34e4cf0d04cab574a76883b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 25 Apr 2013 00:25:31 +0100 Subject: Fix cscript again. --- cscript | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cscript') diff --git a/cscript b/cscript index 5f2d151..aa9f18c 100644 --- a/cscript +++ b/cscript @@ -1,7 +1,9 @@ def build(env, target): cmd = './waf configure --prefix=%s' % env.work_dir_cscript() - if target.platform == 'windows': + if target.platform == 'linux': + cmd += ' --static' + elif target.platform == 'windows': cmd += ' --target-windows' env.command(cmd) env.command('./waf build install') -- cgit v1.2.3