summaryrefslogtreecommitdiff
path: root/ext/extmk.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-10 06:09:40 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-10 06:09:40 +0000
commit6b95829d71c0a3bb88b3263c6a7a8ef2ba059567 (patch)
tree096bba901b789d9c514b92940492cdd53769cbb7 /ext/extmk.rb
parentc389b3bb637a32a12d2445bfcd958d1b3c033c19 (diff)
* ext/extmk.rb: prepend also topdir to mflags at last.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb')
-rw-r--r--ext/extmk.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index 17b918d1be..e4b62c8553 100644
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -289,7 +289,7 @@ def parse_args()
$extout = '$(topdir)/'+$extout
RbConfig::CONFIG["extout"] = CONFIG["extout"] = $extout
$extout_prefix = $extout ? "$(extout)$(target_prefix)/" : ""
- $mflags << "topdir=#$topdir" << "extout=#$extout" << "extout_prefix=#$extout_prefix"
+ $mflags << "extout=#$extout" << "extout_prefix=#$extout_prefix"
end
end
@@ -523,6 +523,7 @@ if $nmake == ?b
vars.each {|flag| flag.sub!(/\A/, "-D")}
end
end
+$mflags.unshift("topdir=#$topdir")
system($make, *sysquote($mflags)) or exit($?.exitstatus)
#Local variables: