[Bug #19189] Fallback to the default "pkg-config"
This commit is contained in:
parent
d20bd06a97
commit
613fca0148
Notes:
git
2022-12-15 02:01:07 +00:00
@ -1866,7 +1866,7 @@ SRC
|
||||
if pkgconfig = with_config("#{pkg}-config") and find_executable0(pkgconfig)
|
||||
# if and only if package specific config command is given
|
||||
elsif ($PKGCONFIG ||=
|
||||
(pkgconfig = with_config("pkg-config", RbConfig::CONFIG["PKG_CONFIG"])) &&
|
||||
(pkgconfig = with_config("pkg-config") {config_string("PKG_CONFIG") || "pkg-config"}) &&
|
||||
find_executable0(pkgconfig) && pkgconfig) and
|
||||
xsystem([*envs, $PKGCONFIG, "--exists", pkg])
|
||||
# default to pkg-config command
|
||||
|
Loading…
x
Reference in New Issue
Block a user