Try like this:

make USE_STATIC_RTL=1

Also be sure that you make a full/clean rebuild!

Regards.



Am 11.01.2016 um 18:25 schrieb Elad Shoval:
> Hi,
>
> Thank you for your quick answer.
> How should I set USE_STATIC_RTL to 1? I typed 'USE_STATIC_RTL=1'  and
> then "make
> nss_build_all" but i didn't see any change from the dynamic compilation..
>
> Thanks,
> Elad.
>
> 2016-01-11 17:17 GMT+02:00 Trick, Daniel <daniel.tr...@sit.fraunhofer.de>:
>
>> Hi!
>>
>> It's probably because Visual Studio default to linking against the
>> _shared_ (DLL) runtime libraries.
>>
>> So you would have to install the "Visual C++ Redistributable" package on
>> that other machine, in order to make your binary work. Be sure to
>> install the Redistributable package that matches your version of Visual
>> Studio. Redistributable packages for newer Visual Studio versions do
>> *not* include the runtimes for older Visual Studio versions!
>>
>> Or, in MozBuild, set *USE_STATIC_RTL=1* in order to link against the
>> _static_ runtime libraries and get grid of the problem altogether... :-)
>>
>> Regards.
>>
>>
>> Am 11.01.2016 um 15:58 schrieb Elad Shoval:
>>> Hi,
>>>
>>> Is there an option to compile NSS and use certutil.exe without Visual
>>> Studio (or community edition)? I already succeeded compile NSS (with
>>> community edition) and get the certutil.exe but when i copy the
>>> certutil.exe to another machine (with the required dll files), the
>>> certutil.exe is not working.
>>>
>>> Thanks!
>>> Elad.
>> --
>> Daniel Trick, Fraunhofer SIT
>> Cloud Computing, Identity & Privacy (CIP)
>> Rheinstr. 75, 64295 Darmstadt, Germany
>> Tel +49 6151 869-303
>>
>> mailto:daniel.tr...@sit.fraunhofer.de
>> http://www.sit.fraunhofer.de/
>>
>> --
>> dev-tech-crypto mailing list
>> dev-tech-crypto@lists.mozilla.org
>> https://lists.mozilla.org/listinfo/dev-tech-crypto
>>

-- 
Daniel Trick, Fraunhofer SIT
Cloud Computing, Identity & Privacy (CIP)
Rheinstr. 75, 64295 Darmstadt, Germany
Tel +49 6151 869-303

mailto:daniel.tr...@sit.fraunhofer.de
http://www.sit.fraunhofer.de/

-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to