mozilla
Your Search Results

    USE_STATIC_LIBS

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

    Set By

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

    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 together that had USE_STATIC_LIBS on and off. All code linked into a single component should set USE_STATIC_LIBS at the same time.

    Note that this option is local to only one module, so for example if you want to compile firefox.exe with static linking against the CRT, you need to set USE_STATIC_LIBS in browser/app/Makefile.in.

    See also

    Document Tags and Contributors

    Contributors to this page: BenjaminSmedberg, Ehsan, gps, Ted_Mielczarek, Sheppy
    Last updated by: gps,