summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-05 17:57:05 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-05 17:57:56 +0900
commit75b644350a80bc31449b7cee741d309643dc27e1 (patch)
tree35e0922695ede3fd1f8e7f3dd0483fbefb3fcda9 /ext
parent0bca34ddaaf15caa852007f401707c1785aa8ed6 (diff)
ext/psych/extconf.rb: braced VPATH is for nmake only
Diffstat (limited to 'ext')
-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 fec541b453..857f8e68c4 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'