diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-12-05 17:57:05 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-06-05 09:06:35 +0900 |
commit | eda7f4fccc7e6b3ff78c4033a19c60797f3746b5 (patch) | |
tree | 4bfac4a18367031ef3d0e51427923055985d2bd2 /ext/psych/extconf.rb | |
parent | 4f28ac8c95b6b24d5c0c56fbb998aff34457d840 (diff) | |
download | psych-eda7f4fccc7e6b3ff78c4033a19c60797f3746b5.tar.gz |
ext/psych/extconf.rb: braced VPATH is for nmake only
ruby/ruby@75b644350a80bc31449b7cee741d309643dc27e1
Diffstat (limited to 'ext/psych/extconf.rb')
-rw-r--r-- | ext/psych/extconf.rb | 2 |
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' |