From abce6309e39a537f38d4f8a8c2ae12749e94b8c9 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 19 Nov 2012 15:50:28 +0000 Subject: [PATCH] Scons: better fix for OSL compiler path, so it also works on OS X. --- intern/cycles/kernel/shaders/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'])