Scons: better fix for OSL compiler path, so it also works on OS X.

This commit is contained in:
Brecht Van Lommel
2012-11-19 15:50:28 +00:00
parent 2f50102131
commit abce6309e3

View File

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