How to build Thunderbird with MSVC libraries?

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

How to build Thunderbird with MSVC libraries?

Post by hungrycop »

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: 1361
Joined: December 15th, 2015, 1:20 pm

Re: How to build Thunderbird with MSVC libraries?

Post by frg »

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.
Post Reply