verconf.h.tmpl: site and vendor directories

* template/verconf.h.tmpl: disable site and vendor directories
  when removed.  based on the path by arnoldwald (arnold w) at
  [ruby-core:81563].  [Bug #13631]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2017-10-09 03:08:02 +00:00
Родитель cb69638dd1
Коммит c8d45bdd59
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -21,13 +21,13 @@
#define RUBY_SITEARCH_PREFIX_FOR(arch) "${rubysitearchprefix}"
#define RUBY_LIB "${rubylibdir}"
#define RUBY_ARCH_LIB_FOR(arch) "${rubyarchdir}"
% if C["sitedir"] == "no"
% if !C["sitedir"] || C["sitedir"] == "no"
#define NO_RUBY_SITE_LIB 1
% else
#define RUBY_SITE_LIB "${sitedir}"
#define RUBY_SITE_ARCH_LIB_FOR(arch) "${sitearchdir}"
% end
% if C["vendordir"] == "no"
% if !C["vendordir"] || C["vendordir"] == "no"
#define NO_RUBY_VENDOR_LIB 1
% else
#define RUBY_VENDOR_LIB "${vendordir}"