ruby-changes:59086
From: Nobuyoshi <ko1@a...>
Date: Thu, 5 Dec 2019 18:08:23 +0900 (JST)
Subject: [ruby-changes:59086] 75b644350a (master): ext/psych/extconf.rb: braced VPATH is for nmake only
https://git.ruby-lang.org/ruby.git/commit/?id=75b644350a From 75b644350a80bc31449b7cee741d309643dc27e1 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 5 Dec 2019 17:57:05 +0900 Subject: ext/psych/extconf.rb: braced VPATH is for nmake only diff --git a/ext/psych/extconf.rb b/ext/psych/extconf.rb index fec541b..857f8e6 100644 --- a/ext/psych/extconf.rb +++ b/ext/psych/extconf.rb @@ -16,9 +16,9 @@ if enable_config("bundled-libyaml", false) || !(find_header('yaml.h') && find_li https://github.com/ruby/ruby/blob/trunk/ext/psych/extconf.rb#L16 $srcs = Dir.glob("#{$srcdir}/{,yaml/}*.c").map {|n| File.basename(n)}.sort header = 'yaml/yaml.h' + header = "{$(VPATH)}#{header}" if $nmake if have_macro("_WIN32") $CPPFLAGS << " -DYAML_DECLARE_STATIC -DHAVE_CONFIG_H" - header = "{$(VPATH)}#{header}" end have_header 'dlfcn.h' -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/