Visit Mozilla.org

USE STATIC LIBS

From MDC

USE_STATIC_LIBS specifies that, on Windows, this code/module should be linked against the CRT statically instead of using the .DLL version.

[edit] Set By

Tree Makefiles set USE_STATIC_LIBS=1 before including config.mk or rules.mk.

[edit] Notes

Setting this variable has no effect on non-Windows platforms. Extensions should use USE_STATIC_LIBS to avoid problems with side-by-side assemblies and different versions of Visual Studio.

It is generally impossible to link code toegether that had USE_STATIC_LIBS on and off. All code linked into a single component should set USE_STATIC_LIBS at the same time.

[edit] See Also