1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

ext/psych/extconf.rb: braced VPATH is for nmake only

This commit is contained in:
Nobuyoshi Nakada 2019-12-05 17:57:05 +09:00
parent 0bca34ddaa
commit 75b644350a
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -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'