aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-09 03:08:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-09 03:08:02 +0000
commit3a6b5b8f27ffb25f159c20bd632cc1b261e59f08 (patch)
tree6dfcfac25d1e4942279cfeff167135620ebaadbd /template
parent70687817759ebdb2447c62eb9287795f549fea3d (diff)
downloadruby-3a6b5b8f27ffb25f159c20bd632cc1b261e59f08.tar.gz
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
Diffstat (limited to 'template')
-rw-r--r--template/verconf.h.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/verconf.h.tmpl b/template/verconf.h.tmpl
index 9325aee0ff..3b8a8aad76 100644
--- a/template/verconf.h.tmpl
+++ b/template/verconf.h.tmpl
@@ -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}"