mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 12:34:21 +00:00
Check if the found pkg-config is usable actually
This commit is contained in:
parent
8e9ea4c202
commit
79d8a3159f
@ -3,7 +3,9 @@ require_relative 'base'
|
||||
require 'shellwords'
|
||||
|
||||
class TestMkmfPkgConfig < TestMkmf
|
||||
PKG_CONFIG = config_string("PKG_CONFIG") {|path| find_executable0(path)}
|
||||
PKG_CONFIG = config_string("PKG_CONFIG") do |path|
|
||||
find_executable0(path, "--version") {$?.success?}
|
||||
end
|
||||
|
||||
def setup
|
||||
super
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user