Don't set RC tool when not compiling for Windows

This commit is contained in:
Simon Robertshaw 2012-09-25 18:19:54 +01:00
parent 25d872ec48
commit f30ef6004a

View File

@ -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)