diff --git a/source/blender/blenlib/SConscript b/source/blender/blenlib/SConscript index 78aecf9936b..9ee03df8d8b 100644 --- a/source/blender/blenlib/SConscript +++ b/source/blender/blenlib/SConscript @@ -3,6 +3,11 @@ Import ('env') sources = env.Glob('intern/*.c') +if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'win64-vc'): + sources.remove('intern\\BLI_bfile.c') +else: + sources.remove('intern/BLI_bfile.c') + cflags='' incs = '. ../makesdna ../blenkernel #/intern/guardedalloc #/intern/ghost ../editors/include ../gpu' incs += ' ' + env['BF_FREETYPE_INC']