summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-03-30 09:41:20 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-03-30 09:41:20 +0000
commitb41d6e177b44f13b2bfb190a7aae3dd2d5faf4ef (patch)
tree20fc4d1cd5e200d15343b3711e1b31f8d5cdb72b /ruby.c
parent1dd17757b547dbc056faa42e13fd3e1fd711a608 (diff)
instance_eva/module_eval
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ruby.c b/ruby.c
index 44200ab..280c088 100644
--- a/ruby.c
+++ b/ruby.c
@@ -68,6 +68,9 @@ extern char *sourcefile;
#ifndef RUBY_LIB
#define RUBY_LIB "/usr/local/lib/ruby"
#endif
+#ifndef RUBY_SITE_LIB
+#define RUBY_SITE_LIB "/usr/local/lib/site_ruby"
+#endif
#if defined(MSDOS) || defined(NT)
#define RUBY_LIB_SEP ';'
@@ -703,9 +706,7 @@ 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