pkgconfig

package
v0.0.0-...-cf07509 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2024 License: GPL-3.0 Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var POSSIBLE_LIBDIR_NAMES = []string{"lib", "lib64"}

TODO: I don't like this.. I already have such list somethere

Functions

This section is empty.

Types

type PkgConfig

type PkgConfig struct {
	// contains filtered or unexported fields
}

func NewPkgConfig

func NewPkgConfig(
	path_env []string,
	pkg_config_path_env []string,
) (*PkgConfig, error)

func (*PkgConfig) Command

func (self *PkgConfig) Command(args ...string) *exec.Cmd

func (*PkgConfig) CommandOutput

func (self *PkgConfig) CommandOutput(args ...string) (string, error)

func (*PkgConfig) GetIncludeDirs

func (self *PkgConfig) GetIncludeDirs(name string) ([]string, error)

func (*PkgConfig) GetLibNames

func (self *PkgConfig) GetLibNames(name string) ([]string, error)

func (*PkgConfig) GetPKG_CONFIG_PATH

func (self *PkgConfig) GetPKG_CONFIG_PATH() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL