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:
Nobuyoshi Nakada 2025-08-08 20:17:58 +09:00
parent f76ce9fd28
commit a15cf61ba6
No known key found for this signature in database
GPG key ID: 3582D74E1FEE4465

View file

@ -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