From d78231734d6ccf224738ea76307c26f8c0d4dab4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 19 Sep 2011 15:18:58 +0000 Subject: attempt to fix windows/scons issue I caused in a recent commit. --- source/blender/imbuf/SConscript | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source/blender') diff --git a/source/blender/imbuf/SConscript b/source/blender/imbuf/SConscript index 7c5b94b9e12..eae9665d23b 100644 --- a/source/blender/imbuf/SConscript +++ b/source/blender/imbuf/SConscript @@ -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') -- cgit v1.2.3