summaryrefslogtreecommitdiff
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
commitc8d45bdd595e9db3bca93300be5574560c1e9028 (patch)
tree6dfcfac25d1e4942279cfeff167135620ebaadbd /template
parentcb69638dd1dfceba74e0af6dc390a84604923444 (diff)
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}"