From 75b644350a80bc31449b7cee741d309643dc27e1 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 5 Dec 2019 17:57:05 +0900 Subject: ext/psych/extconf.rb: braced VPATH is for nmake only --- ext/psych/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') 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' -- cgit v1.2.3