summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ruby.c b/ruby.c
index 33522f8b4d..ab08fd8c76 100644
--- a/ruby.c
+++ b/ruby.c
@@ -595,6 +595,11 @@ ruby_prog_init()
if (rb_safe_level() == 0) {
addpath(getenv("RUBYLIB"));
}
+
+#ifdef RUBY_THIN_ARCHLIB
+ addpath(RUBY_THIN_ARCHLIB);
+#endif
+
#ifdef RUBY_ARCHLIB
addpath(RUBY_ARCHLIB);
#endif