summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-05 17:57:05 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-06-05 09:06:35 +0900
commiteda7f4fccc7e6b3ff78c4033a19c60797f3746b5 (patch)
tree4bfac4a18367031ef3d0e51427923055985d2bd2
parent4f28ac8c95b6b24d5c0c56fbb998aff34457d840 (diff)
downloadpsych-eda7f4fccc7e6b3ff78c4033a19c60797f3746b5.zip
ext/psych/extconf.rb: braced VPATH is for nmake only
ruby/ruby@75b644350a80bc31449b7cee741d309643dc27e1
-rw-r--r--ext/psych/extconf.rb2
1 files changed, 1 insertions, 1 deletions
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
$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'