From b069230a3a395ee57a9874bb6667bb704c09f2a8 Mon Sep 17 00:00:00 2001 From: eban Date: Sun, 21 May 2000 09:25:58 +0000 Subject: see ChangeLog git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- instruby.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'instruby.rb') diff --git a/instruby.rb b/instruby.rb index 444b7e6465..da773c0825 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| -- cgit v1.2.3