summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-03-27 10:19:52 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-03-27 10:19:52 +0000
commita0cf52c331badeed096e4e913961a38d48b0c6fc (patch)
tree2e8617eeea05fa492e21f02485bb65dc28d12c3f /ruby.c
parente933a2791971a5667c52c9f3042aa38179722db2 (diff)
site_ruby
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/ruby.c b/ruby.c
index 6983791..44200ab 100644
--- a/ruby.c
+++ b/ruby.c
@@ -703,6 +703,16 @@ ruby_prog_init()
addpath(RUBY_THIN_ARCHLIB);
#endif
+#ifdef RUBY_SITE_LIB
+ addpath(RUBY_SITE_LIB);
+#endif
+#ifdef RUBY_SITE_ARCHLIB
+ addpath(RUBY_SITE_ARCHLIB);
+#endif
+#ifdef RUBY_SITE_THIN_ARCHLIB
+ addpath(RUBY_SITE_THIN_ARCHLIB);
+#endif
+
if (rb_safe_level() == 0) {
addpath(getenv("RUBYLIB"));
}