From 06b5be0722782353ceff6e7fa94f115bd37ed8af Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 13 Jul 2014 22:35:46 +0100 Subject: Centos build fixes. --- cscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cscript') diff --git a/cscript b/cscript index 9d1605b2f..7a6133645 100644 --- a/cscript +++ b/cscript @@ -169,7 +169,10 @@ def build(target, options): if target.version == 'unstable': cmd += ' --debian-unstable' elif target.distro == 'centos': - cmd += ' --target-centos' + if target.version == '6.5': + cmd += ' --target-centos-6' + elif target.version == '7': + cmd += ' --target-centos-7' target.command(cmd) target.command('./waf') -- cgit v1.2.3