OSX/scons: refine oslc compile workaround

This commit is contained in:
Jens Verwiebe
2012-11-19 11:46:55 +00:00
parent 45f75df1ce
commit 3b570440e4

View File

@@ -15,7 +15,7 @@ if env['WITH_BF_CYCLES_OSL']:
# osl compiler info
if env['OURPLATFORM']=='darwin':
osl_compiler = '../lib/darwin-9.x.universal/osl/bin/oslc' # temporary hack to get the leading "#" away that breaks shadercompile
osl_compiler = env['LCGDIR'][1:] + '/osl/bin/oslc' # get the leading "#" away that breaks shadercompile
else:
osl_compiler = env['BF_OSL_COMPILER']