ronin.pkg_config¶
-
class
ronin.pkg_config.Package(name, command=None, path=None, static=False)¶ Bases:
ronin.extensions.ExtensionA library that is configured by the external pkg-config tool.
Supports gcc-like executors.
Parameters: - name (basestring or FunctionType) – package name
- command (basestring or FunctionType) –
pkg-configcommand; defaults to the context’spkg_config.pkg_config_command - path (basestring or FunctionType) –
pkg-configpath; defaults to the context’spkg_config.path - static (bool) – set to True to use static library linking
-
apply_to_executor_gcc_compile(executor)¶
-
apply_to_executor_gcc_link(executor)¶
-
ronin.pkg_config.configure_pkg_config(pkg_config_command=None, pkg_config_path=None)¶ Configures the current context’s pkg-config support.
Parameters: - pkg_config_command (basestring or FunctionType) –
pkg-configcommand; defaults to “pkg-config” - pkg_config_path (basestring or FunctionType) –
pkg-configpath
- pkg_config_command (basestring or FunctionType) –