MozillaZine

How to build Thunderbird with MSVC libraries?

Discussion of third-party/unofficial Firefox/Thunderbird/SeaMonkey builds.
hungrycop
 
Posts: 3
Joined: February 15th, 2017, 12:22 pm

Post Posted March 16th, 2017, 2:59 am

Hello.

Official builds of Thunderbird include MSVC libraries (msvcp120.dll, msvcr120.dll) in installation directory. This allows you to run Thunderbird without install Visual C++ libs.

If you make your own build and make installer (mach build installer) MSVC libraries are not included in build and this build is not working until you install Visual C++.

How to package this libs in my own build?

I've tried:
Code: Select all
ac_add_options --enable-static
ac_add_options --disable-shared


But i think it's wrong way.

frg
 
Posts: 432
Joined: December 15th, 2015, 1:20 pm

Post Posted March 17th, 2017, 1:55 am

You need VS2015 now.

For x86 builds:

export WIN32_REDIST_DIR=/d/seamonkey/vs2015runtimes/vc/redist/x86/Microsoft.VC140.CRT
export WIN_UCRT_REDIST_DIR=/d/seamonkey/vs2015runtimes/ucrt/redist/x86

Make sure the objects are not readonly or packaging will fail. I copied them to a custom location for this. For private builds I would just install the VS2015 redist.

Return to Third Party/Unofficial Builds


Who is online

Users browsing this forum: No registered users and 1 guest