mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Also the tests should use the configured pkg-config
This commit is contained in:
parent
7f1ca66642
commit
de9c612d63
Notes:
git
2022-10-02 17:29:48 +09:00
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ require_relative 'base'
|
||||||
require 'shellwords'
|
require 'shellwords'
|
||||||
|
|
||||||
class TestMkmfPkgConfig < TestMkmf
|
class TestMkmfPkgConfig < TestMkmf
|
||||||
PKG_CONFIG = find_executable0("pkg-config")
|
PKG_CONFIG = config_string("PKG_CONFIG") {|path| find_executable0(path)}
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
super
|
super
|
||||||
|
@ -26,7 +26,7 @@ class TestMkmfPkgConfig < TestMkmf
|
||||||
Cflags: -I${includedir}/cflags-I --cflags-other
|
Cflags: -I${includedir}/cflags-I --cflags-other
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
@pkg_config_path, ENV["PKG_CONFIG_PATH"] = ENV["PKG_CONFIG_PATH"], File.join(Dir.pwd, "fixtures")
|
@pkg_config_path, ENV["PKG_CONFIG_PATH"] = ENV["PKG_CONFIG_PATH"], @fixtures_dir
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue