forked from bartvdbraak/blender
dfc672f8bb
The issue was caused by the following construction: def = env['SOMETHING'] defs.append('SOMETHING_MORE') Since first assignment was actually referencing environment option it was totally polluted hawing weird and wonderful side effects on all other areas of Blender.
17 lines
301 B
Python
17 lines
301 B
Python
#!/usr/bin/python
|
|
import sys
|
|
import os
|
|
|
|
Import('env')
|
|
|
|
sources = ['src/glew.c']
|
|
|
|
defs = []
|
|
defs += env['BF_GL_DEFINITIONS']
|
|
|
|
if env['WITH_BF_GLEW_MX']:
|
|
defs += ['GLEW_MX']
|
|
incs = ['include']
|
|
|
|
env.BlenderLib ( 'extern_glew_es', sources, incs, defs, libtype=['extern','player'], priority=[50,230] )
|