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:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-05-12 17:52:42 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-05-12 17:53:31 +0300
commitf0974530068d1c04285010673e6512e29c674227 (patch)
treeb9e5930ef5109fadb2e4c6f57bb87ffaffef7884 /source/blender/blenloader/SConscript
parent15016e14977abdf350c7b452d0333e98e75d5426 (diff)
Fix missing define in blenloader
It caused blender versions compiled with scons not having proper build date/hash stored in the .blend file.
Diffstat (limited to 'source/blender/blenloader/SConscript')
-rw-r--r--source/blender/blenloader/SConscript7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/blenloader/SConscript b/source/blender/blenloader/SConscript
index bd002e59fa4..31dfc71ac73 100644
--- a/source/blender/blenloader/SConscript
+++ b/source/blender/blenloader/SConscript
@@ -43,11 +43,14 @@ incs = [
env['BF_ZLIB_INC'],
]
+defs = []
+
+if env['BF_BUILDINFO']:
+ defs.append('WITH_BUILDINFO')
+
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
incs.append(env['BF_PTHREADS_INC'])
-defs = []
-
if env['WITH_BF_INTERNATIONAL']:
defs.append('WITH_INTERNATIONAL')