diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2006-02-20 01:21:45 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2006-02-20 01:21:45 +0300 |
commit | 29a5fbc6b7adad46f15925df136236849058e16a (patch) | |
tree | adaa72090e7751a04fbaea8c693c509b150e3092 /source/blender/blenlib/SConscript | |
parent | 21be45b66ebae2d5e7b01f6f8e837b40878529d9 (diff) |
==SCons==
* add -pthread compile switch for linux2 platforms to be on the safe side.
Diffstat (limited to 'source/blender/blenlib/SConscript')
-rw-r--r-- | source/blender/blenlib/SConscript | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/blenlib/SConscript b/source/blender/blenlib/SConscript index 53231e60d8f..de588c5a54a 100644 --- a/source/blender/blenlib/SConscript +++ b/source/blender/blenlib/SConscript @@ -3,6 +3,7 @@ Import ('env') sources = env.Glob('intern/*.c') +cflags='' incs = '. ../makesdna ../blenkernel #/intern/guardedalloc ../include' incs += ' ' + env['BF_FREETYPE_INC'] incs += ' ' + env['BF_ZLIB_INC'] @@ -12,4 +13,7 @@ defs = '' if env['WITH_BF_INTERNATIONAL'] == 1: defs = 'WITH_FREETYPE2' -env.BlenderLib ( 'bf_blenlib', sources, Split(incs), Split(defs), libtype=['core','player'], priority = [85,195] ) +if env['OURPLATFORM'] == 'linux2': + cflags='-pthread' + +env.BlenderLib ( 'bf_blenlib', sources, Split(incs), Split(defs), libtype=['core','player'], priority = [85,195], compileflags =cflags ) |