On 12/15/2011 02:31 PM, passfree wrote: > Hi there, > > I am creating a cmd based on NSS. I decided to use the NSS build > system just like all other cmds. It builds well and it works. Now, I > really want to be able to distribute this executable but without the > need to ship NSS and NSPR and all other dependant libraries from the > mozilla tree. I don't mind if the executable links to other system > libraries. Is there a way to achieve this? In other words I want one > executable that has everything as far as mozilla source is concerned. Not really out of the box. If you made your own build of NSS, it my be possible to link with some of the intermediate libraries used to build the shared libraries, but there is a lot of explicit dynamic loading (NSS does the loading on it's own, not dependent on the linker). Neither the NSS upstream now the NSPR upstream supports statically built commands. May I ask what your target platform is? On many Linux platforms, NSS is already supplied as a system library.
bob
-- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto