Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2012-02-04 14:02:59 +0400
committerAntony Riakiotakis <kalast@gmail.com>2012-02-04 14:02:59 +0400
commitd84573386e5ee0c63d8f4bebb3984fc6385bcb90 (patch)
tree501736d39823b7ea9d929f4f059e9e325f6bd48a /source/blender/blenfont/SConscript
parentdeec4ce0bc77519f68392bc5b29ef211a31f1588 (diff)
Fix MinGW compilation due to recent font rendering changes.
GLEW_STATIC needs to be defined for static linking of GLEW or the dynamic entry points are looked up during linking
Diffstat (limited to 'source/blender/blenfont/SConscript')
-rw-r--r--source/blender/blenfont/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenfont/SConscript b/source/blender/blenfont/SConscript
index 1a86d0ad671..c46960d2311 100644
--- a/source/blender/blenfont/SConscript
+++ b/source/blender/blenfont/SConscript
@@ -9,7 +9,7 @@ incs += ' #/extern/glew/include'
incs += ' ' + env['BF_FREETYPE_INC']
incs += ' ' + env['BF_GETTEXT_INC']
-defs = []
+defs = ['GLEW_STATIC']
if sys.platform == 'win32' or env['OURPLATFORM'] == 'linuxcross':
defs.append('_WIN32')