abac6afe93
Package attrs should map to the pname. It's confusing otherwise. pkg-config is also the name used by most distributions: Debian, Homebrew, Guix, OpenSuse other distributions like FreeBSD ports, Fedora and Arch Linux call it "pkgconf" Waiting a few releases to make a tree-wide change to make it easier to back-port things.
6 lines
178 B
Bash
6 lines
178 B
Bash
addPkgConfigPath () {
|
|
addToSearchPath PKG_CONFIG_PATH $1/lib/pkgconfig
|
|
addToSearchPath PKG_CONFIG_PATH $1/share/pkgconfig
|
|
}
|
|
|
|
addEnvHooks "$targetOffset" addPkgConfigPath
|