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

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
parent cb69638dd1
commit c8d45bdd59

View file

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