Add pthread dll for MinGW64 during installation. Now people who download from buildbo...
authorAntony Riakiotakis <kalast@gmail.com>
Tue, 1 May 2012 20:57:39 +0000 (20:57 +0000)
committerAntony Riakiotakis <kalast@gmail.com>
Tue, 1 May 2012 20:57:39 +0000 (20:57 +0000)
SConstruct
source/creator/CMakeLists.txt

index b1603fd0397c0dcdee7764c192ff0f73368d51cd..46ce989e9c0d47b303b6479fe3e45b6c43c9a21b 100644 (file)
@@ -805,6 +805,7 @@ if env['OURPLATFORM'] == 'win64-mingw':
         dllsources.append('${LCGDIR}/sdl/lib/SDL.dll')
        
     dllsources.append('${LCGDIR}/thumbhandler/lib/BlendThumb64.dll')
+    dllsources.append('${LCGDIR}/binaries/pthreadGC2-w64.dll')
     dllsources.append('#source/icons/blender.exe.manifest')
 
     windlls = env.Install(dir=env['BF_INSTALLDIR'], source = dllsources)
index 9168b634250dd2e98fb7e1c907d9e7f6431dbb81..f4c3964ab83b62e449d529b3ddc4edba68a966d0 100644 (file)
@@ -566,6 +566,11 @@ elseif(WIN32)
                                FILES ${LIBDIR}/pthreads/lib/pthreadGC2.dll
                                DESTINATION ${TARGETDIR}
                        )
+               elseif(WITH_MINGW64)
+                       install(
+                               FILES ${LIBDIR}/binaries/pthreadGC2-w64.dll
+                               DESTINATION ${TARGETDIR}
+                       )
                endif()
        endif()