Commits

Anonymous committed 5b73d64

Avoid generating the full path to gmcs.

Comments (0)

Files changed (1)

     env['BUILDERS']['CLIRes'] = MsCliResBuilder
     env['BUILDERS']['CLITypeLib'] = MsCliTypeLibBuilder
     
-    env['CSC']          = env.WhereIs('gmcs') or 'csc'
+    env['CSC']          = env.Detect('gmcs') or 'csc'
     env['_CSCLIBS']     = "${_stripixes('-r:', CILLIBS, '', '-r', '', __env__)}"
     env['_CSCLIBPATH']  = "${_stripixes('-lib:', CILLIBPATH, '', '-r', '', __env__)}"
     env['CSCFLAGS']     = SCons.Util.CLVar('-nologo -noconfig')