diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-08 08:44:15 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-08 08:44:15 +0000 |
commit | a19df6ab201992c552ed920e2cdaeeeb737063ac (patch) | |
tree | af7453c590f1b46e1c54ed55eadffc3890598b3c /ext | |
parent | 3e73d7e4b7c45f44df3b7fc5c1728e5f02936e14 (diff) | |
download | ruby-a19df6ab201992c552ed920e2cdaeeeb737063ac.tar.gz ruby-a19df6ab201992c552ed920e2cdaeeeb737063ac.tar.xz ruby-a19df6ab201992c552ed920e2cdaeeeb737063ac.zip |
* common.mk, ext/extmk.rb, lib/mkmf.rb: use absolute path for RUBYOPT.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/extmk.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb index 12400ace4..309baa9b3 100644 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -350,7 +350,7 @@ unless CROSS_COMPILING $ruby << " -I'$(extout)/$(arch)' -I'$(extout)/common'" if $extout $ruby << " -I./- -I'$(top_srcdir)/ext' -rpurelib.rb" ENV["RUBYLIB"] = "-" - ENV.delete("RUBYOPT") + ENV["RUBYOPT"] = "-r#{File.expand_path('ext/purelib.rb', $top_srcdir)}" end $config_h = '$(arch_hdrdir)/ruby/config.h' $mflags << "ruby=#$ruby" @@ -555,6 +555,7 @@ if $nmake == ?b end end $mflags.unshift("topdir=#$topdir") +ENV.delete("RUBYOPT") system($make, *sysquote($mflags)) or exit($?.exitstatus) #Local variables: |