Skip to content

Commit a15cf61

Browse files
committed
Revert "Check if the found pkg-config is usable actually"
This reverts commit 79d8a31. The second argument of `find_executable0` in mkmf is `path`, not arguments to the program like as `EnvUtil.find_executable`.
1 parent f76ce9f commit a15cf61

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/mkmf/test_pkg_config.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
require 'shellwords'
44

55
class TestMkmfPkgConfig < TestMkmf
6-
PKG_CONFIG = config_string("PKG_CONFIG") do |path|
7-
find_executable0(path, "--version") {$?.success?}
8-
end
6+
PKG_CONFIG = config_string("PKG_CONFIG") {|path| find_executable0(path)}
97

108
def setup
119
super

0 commit comments

Comments
 (0)