Update build systems to copy needed dlls from MinGW-w64, turn openmp on by default...
[blender.git] / SConstruct
index 088361af6497d3696de39efd99177ff3cc488337..1da1334f1f0daacb2c4fe3476ee69fd6552a60c7 100644 (file)
@@ -769,8 +769,13 @@ if env['OURPLATFORM'] == 'win64-mingw':
     if env['WITH_BF_SDL']:
         dllsources.append('${LCGDIR}/sdl/lib/SDL.dll')
        
+       if(env['WITH_BF_OPENMP'])
+               dllsources.append('${LCGDIR}/binaries/libgomp-1.dll')
+       
     dllsources.append('${LCGDIR}/thumbhandler/lib/BlendThumb64.dll')
-    dllsources.append('${LCGDIR}/binaries/pthreadGC2-w64.dll')
+    dllsources.append('${LCGDIR}/binaries/libgcc_s_sjlj-1.dll')
+       dllsources.append('${LCGDIR}/binaries/libwinpthread-1.dll')
+       dllsources.append('${LCGDIR}/binaries/libstdc++-6.dll)')
     dllsources.append('#source/icons/blender.exe.manifest')
 
     windlls = env.Install(dir=env['BF_INSTALLDIR'], source = dllsources)