From f30ef6004a2f21e7562f3c24e06b9cf816e32d55 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Tue, 25 Sep 2012 18:19:54 +0100 Subject: Don't set RC tool when not compiling for Windows diff --git a/SConscript b/SConscript index 341ed16..a16a7c8 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) -- cgit v0.9.2-21-gd62e