mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
c389b3bb63
commit
6b95829d71
2 changed files with 4 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
Sun Jun 10 14:48:43 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Sun Jun 10 15:11:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* Makefile.in, win32/Makefile.sub (XCFLAGS): -I. is needed for *.inc.
|
||||
|
||||
* ext/extmk.rb (parse_args): add also topdir to mflags.
|
||||
* ext/extmk.rb: prepend also topdir to mflags at last.
|
||||
|
||||
Sun Jun 10 13:47:36 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue