summaryrefslogtreecommitdiff
path: root/instruby.rb
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-05-21 09:25:58 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-05-21 09:25:58 +0000
commitb069230a3a395ee57a9874bb6667bb704c09f2a8 (patch)
treeb8b6b7d465dfaeaa87ee196d7d8107227357ebd8 /instruby.rb
parentb8986bfdd69e54a1cd5ac9a51ebc6fc49446f8a1 (diff)
see ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'instruby.rb')
-rw-r--r--instruby.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/instruby.rb b/instruby.rb
index 444b7e6..da773c0 100644
--- a/instruby.rb
+++ b/instruby.rb
@@ -66,7 +66,11 @@ if RUBY_PLATFORM =~ /-aix/
end
Dir.chdir "ext"
-system "../miniruby#{exeext} extmk.rb install #{destdir}"
+if defined? CROSS_COMPILING
+ system "#{CONFIG['MINIRUBY']} extmk.rb install #{destdir}"
+else
+ system "../miniruby#{exeext} extmk.rb install #{destdir}"
+end
Dir.chdir CONFIG["srcdir"]
Find.find("lib") do |f|