diff --git a/intern/cycles/kernel/shaders/SConscript b/intern/cycles/kernel/shaders/SConscript index f1c30395b70..36b86d7b4f6 100644 --- a/intern/cycles/kernel/shaders/SConscript +++ b/intern/cycles/kernel/shaders/SConscript @@ -14,7 +14,7 @@ if env['WITH_BF_CYCLES_OSL']: shaders = env.Clone() # osl compiler - osl_compiler = env._canonicalize(env.subst(env['BF_OSL_COMPILER'])) + osl_compiler = File(env.subst(env['BF_OSL_COMPILER'])).abspath # build directory root_build_dir = normpath(env['BF_BUILDDIR'])