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:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct8
1 files changed, 5 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index 9f38201d479..4c6745e2b48 100644
--- a/SConstruct
+++ b/SConstruct
@@ -289,9 +289,11 @@ textinstall = env.Install(dir=env['BF_INSTALLDIR'], source=textlist)
allinstall = [blenderinstall, dotblenderinstall, scriptinstall, plugininstall, textinstall]
-if sys.platform=='win32':
- # TODO: gather all needed dlls from lib/windows for inclusion in install
- windlls = []
+if env['OURPLATFORM'] == 'win32-vc':
+ windlls = env.Install(dir=env['BF_INSTALLDIR'], source = ['#../lib/windows/gettext/lib/gnu_gettext.dll',
+ '#../lib/windows/png/lib/libpng.dll',
+ '#../lib/windows/sdl/lib/SDL.dll',
+ '#../lib/windows/zlib/lib/zlib.dll'])
allinstall += windlls
installtarget = env.Alias('install', allinstall)