diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-04-18 23:38:16 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-04-18 23:38:16 +0000 |
commit | 07eead80713acee91fbca1c0c3bc33b5284eea31 (patch) | |
tree | f3bf8e28e2e0349efd8d7cfcfe62fc82cc9de004 /eval.c | |
parent | b56724550db45600ce90507faaf05cf6a1ec9130 (diff) | |
download | ruby-07eead80713acee91fbca1c0c3bc33b5284eea31.tar.gz |
* eval.c (search_required): handle static linked extensions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -6916,6 +6916,9 @@ search_required(fname, path) } } } + else if (!strchr(ftptr, '/')) { + if (rb_feature_p(ftptr, 0, Qfalse)) return 's'; + } tmp = fname; type = rb_find_file_ext(&tmp, loadable_ext); tmp = rb_file_expand_path(tmp, Qnil); |