Add pthread dll for MinGW64 during installation. Now people who download from buildbot will be able to run the build even without MinGW-w64 installed.

This commit is contained in:
Antony Riakiotakis 2012-05-01 20:57:39 +00:00
parent c6051ea87b
commit e54a0039dc
2 changed files with 6 additions and 0 deletions

View 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)

View 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()