fix for scons with recent change to how BINRELOC is enabled via cmake.
[blender.git] / extern / SConscript
index 22c7dc23dce4416fe07f8243f613b15540114a36..bd73d71f1238f4d57942dc18bb9b0daaa509448c 100644 (file)
@@ -13,7 +13,7 @@ if env['WITH_BF_OPENJPEG'] and env['BF_OPENJPEG_LIB'] == '':
 if env['WITH_BF_REDCODE'] and env['BF_REDCODE_LIB'] == '':
     SConscript(['libredcode/SConscript'])
 
-if env['OURPLATFORM'] == 'linux2':
+if env['WITH_BF_BINRELOC']:
     SConscript(['binreloc/SConscript']);
 
 if env['WITH_BF_LZO']: