ar

The ar program creates static libraries. This tool is almost always loaded from others (C, C++, D, etc) for static library support.

waflib.Tools.ar.conf(f)

Decorator: attach new configuration functions to waflib.Build.BuildContext and waflib.Configure.ConfigurationContext. The methods bound will accept a parameter named ‘mandatory’ to disable the configuration errors:

def configure(conf):
        conf.find_program('abc', mandatory=False)
Parameters

f (function) – method to bind

waflib.Tools.ar.find_ar(conf)[source]

Configuration Method bound to waflib.Configure.ConfigurationContext Configuration helper used by C/C++ tools to enable the support for static libraries

waflib.Tools.ar.configure(conf)[source]

Finds the ar program and sets the default flags in conf.env.ARFLAGS