mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue