From f30ef6004a2f21e7562f3c24e06b9cf816e32d55 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Tue, 25 Sep 2012 18:19:54 +0100 Subject: [PATCH] Don't set RC tool when not compiling for Windows --- SConscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SConscript b/SConscript index 341ed16b0..a16a7c88e 100644 --- a/SConscript +++ b/SConscript @@ -62,7 +62,8 @@ else: if GetOption("toolprefix"): env['CC'] = GetOption("toolprefix")+env['CC'] env['CXX'] = GetOption("toolprefix")+env['CXX'] - env['RC'] = GetOption("toolprefix")+env['RC'] + if GetOption('win'): + env['RC'] = GetOption("toolprefix")+env['RC'] #Check for headers and libraries conf = Configure(env)