Linux only addition to know for sure the path of blender because sometimes the Play button doesn't work depending on how blender is started.

This uses binreloc - http://autopackage.org/docs/binreloc/
it should also solve the problem of python scripts not being found.
This commit is contained in:
Campbell Barton
2008-01-18 15:10:17 +00:00
parent afc53a1eba
commit 09c2fd6f11
13 changed files with 905 additions and 5 deletions

View File

@@ -15,4 +15,7 @@ if env['WITH_BF_QUICKTIME']==1:
incs += ' ' + env['BF_QUICKTIME_INC']
defs.append('WITH_QUICKTIME')
if env['OURPLATFORM'] == 'linux2':
incs += ' ../../extern/binreloc/include'
env.BlenderLib ( libname = 'blender_creator', sources = Split(sources), includes = Split(incs), defines = defs, libtype='core', priority = 1 )