summaryrefslogtreecommitdiff
path: root/ext/extmk.rb.in
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 /ext/extmk.rb.in
parentb8986bfdd69e54a1cd5ac9a51ebc6fc49446f8a1 (diff)
see ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb.in')
-rw-r--r--ext/extmk.rb.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in
index 90e6c71592..97152065c4 100644
--- a/ext/extmk.rb.in
+++ b/ext/extmk.rb.in
@@ -402,6 +402,9 @@ archdir = $(pkglibdir)/@arch@
ruby_interpreter = $topdir + "/miniruby@EXEEXT@"
ruby_interpreter.gsub!("/", "\\")
end
+ if defined? CROSS_COMPILING
+ ruby_interpreter = "@MINIRUBY@"
+ end
mfile.printf <<EOS
TARGET = #{target}