mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Revert "Check if the found pkg-config is usable actually"
This reverts commit 79d8a3159f
.
The second argument of `find_executable0` in mkmf is `path`, not
arguments to the program like as `EnvUtil.find_executable`.
This commit is contained in:
parent
f76ce9fd28
commit
a15cf61ba6
1 changed files with 1 additions and 3 deletions
|
@ -3,9 +3,7 @@ require_relative 'base'
|
|||
require 'shellwords'
|
||||
|
||||
class TestMkmfPkgConfig < TestMkmf
|
||||
PKG_CONFIG = config_string("PKG_CONFIG") do |path|
|
||||
find_executable0(path, "--version") {$?.success?}
|
||||
end
|
||||
PKG_CONFIG = config_string("PKG_CONFIG") {|path| find_executable0(path)}
|
||||
|
||||
def setup
|
||||
super
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue