Ghost depends on glew-mx, so glew-mx should be passed to linker after the ghost.
We're also using spaces for indentation in python, including scons rules.
defs = env['BF_GL_DEFINITIONS']
incs = [
- '.',
- env['BF_GLEW_INC'],
- ]
+ '.',
+ env['BF_GLEW_INC'],
+ ]
-env.BlenderLib ( 'extern_glew_mx', sources, incs, defs, libtype=['intern','player'], priority=[10, 185] )
+env.BlenderLib('intern_glew_mx', sources, incs, defs, libtype=['intern','player'], priority=[50, 185])