diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-06-29 14:52:18 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-06-29 14:52:18 +0400 |
commit | 07f4465c77f3aee915acda2091cdaf64f53640de (patch) | |
tree | eef192005eee5913f91749c70f3b2fa5c4f9def0 /source/blender/blenfont/SConscript | |
parent | 32d5b52f593cb526b2649d82bd674ff67b3ff09e (diff) |
Fix scons/windows build error, missing pthreads include in blenfont for mutex.
Diffstat (limited to 'source/blender/blenfont/SConscript')
-rw-r--r-- | source/blender/blenfont/SConscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenfont/SConscript b/source/blender/blenfont/SConscript index 3973fed677f..1c573fa4a59 100644 --- a/source/blender/blenfont/SConscript +++ b/source/blender/blenfont/SConscript @@ -55,4 +55,7 @@ if sys.platform == 'win32' or env['OURPLATFORM'] == 'linuxcross': if env['WITH_BF_INTERNATIONAL']: defs.append('WITH_INTERNATIONAL') +if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): + incs.append(env['BF_PTHREADS_INC']) + env.BlenderLib('bf_blenfont', sources, incs, defines=defs, libtype=['core', 'player'], priority=[210, 210]) |