summaryrefslogtreecommitdiff
path: root/SConscript
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-09-25 17:19:54 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-09-25 17:19:54 (GMT)
commitf30ef6004a2f21e7562f3c24e06b9cf816e32d55 (patch)
tree2af30f6dfe4fdec8d2294c992c556c51c032756a /SConscript
parent25d872ec48b6af1e6bc682bdaadca173926b07d1 (diff)
downloadpowder-f30ef6004a2f21e7562f3c24e06b9cf816e32d55.zip
powder-f30ef6004a2f21e7562f3c24e06b9cf816e32d55.tar.gz
Don't set RC tool when not compiling for Windows
Diffstat (limited to 'SConscript')
-rw-r--r--SConscript3
1 files changed, 2 insertions, 1 deletions
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)