enumstd.Build.Module.SystemLib.UsePkgConfig[src]

Fields

no

Don't use pkg-config, just pass -lfoo where foo is name.

yes

Try to get information on how to link the library from pkg-config. If that fails, fall back to passing -lfoo where foo is name.

force

Try to get information on how to link the library from pkg-config. If that fails, error out.

Source Code

Source code
pub const UsePkgConfig = enum {
    /// Don't use pkg-config, just pass -lfoo where foo is name.
    no,
    /// Try to get information on how to link the library from pkg-config.
    /// If that fails, fall back to passing -lfoo where foo is name.
    yes,
    /// Try to get information on how to link the library from pkg-config.
    /// If that fails, error out.
    force,
}