attempt to fix windows/scons issue I caused in a recent commit.

This commit is contained in:
Campbell Barton 2011-09-19 15:18:58 +00:00
parent 05683f8e52
commit d78231734d

@ -1,4 +1,5 @@
#!/usr/bin/python
import os
Import ('env')
sources = env.Glob('intern/*.c')
@ -23,7 +24,7 @@ if env['WITH_BF_OPENEXR']:
if env['WITH_BF_TIFF']:
defs.append('WITH_TIFF')
else:
sources.remove('intern/tiff.c')
sources.remove(os.path.join('intern', 'tiff.c'))
if env['WITH_BF_DDS']:
defs.append('WITH_DDS')
@ -34,7 +35,7 @@ if env['WITH_BF_CINEON']:
if env['WITH_BF_HDR']:
defs.append('WITH_HDR')
else:
sources.remove('intern/radiance_hdr.c')
sources.remove(os.path.join('intern', 'radiance_hdr.c'))
if env['WITH_BF_FFMPEG']:
defs.append('WITH_FFMPEG')
@ -44,7 +45,7 @@ if env['WITH_BF_OPENJPEG']:
defs.append('WITH_OPENJPEG')
incs += ' ' + env['BF_OPENJPEG_INC']
else:
sources.remove('intern/jp2.c')
sources.remove(os.path.join('intern', 'jp2.c'))
if env['WITH_BF_REDCODE']:
defs.append('WITH_REDCODE')