diff options
| author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-05-21 09:25:58 +0000 |
|---|---|---|
| committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-05-21 09:25:58 +0000 |
| commit | cbe7e21b8ec8ef02f9883f786f332387a09d1ade (patch) | |
| tree | b8b6b7d465dfaeaa87ee196d7d8107227357ebd8 /instruby.rb | |
| parent | 2f3c20c4a8c14a351f1d18fdd35f85715cc99ce9 (diff) | |
| download | ruby-cbe7e21b8ec8ef02f9883f786f332387a09d1ade.tar.gz ruby-cbe7e21b8ec8ef02f9883f786f332387a09d1ade.tar.xz ruby-cbe7e21b8ec8ef02f9883f786f332387a09d1ade.zip | |
see ChangeLog
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'instruby.rb')
| -rw-r--r-- | instruby.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/instruby.rb b/instruby.rb index 444b7e646..da773c082 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| |
