mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/mkmf.rb (create_makefile): Kernel#sub! was removed on HEAD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4f4ea9db28
commit
258f80c82f
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Sun Feb 5 16:33:50 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||
|
||||
* lib/mkmf.rb (create_makefile): Kernel#sub! was removed on HEAD.
|
||||
|
||||
Sun Feb 5 14:26:54 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||
|
||||
* lib/pstore.rb: should return default value if name is not found.
|
||||
|
|
|
@ -1051,7 +1051,7 @@ def create_makefile(target, srcprefix = nil)
|
|||
if File.exist?(File.join(srcdir, target + '.def'))
|
||||
deffile = "$(srcdir)/$(TARGET).def"
|
||||
unless EXPORT_PREFIX.empty?
|
||||
makedef = %{-pe "sub!(/^(?=\\w)/,'#{EXPORT_PREFIX}') unless 1../^EXPORTS$/i"}
|
||||
makedef = %{-pe "$_.sub!(/^(?=\\w)/,'#{EXPORT_PREFIX}') unless 1../^EXPORTS$/i"}
|
||||
end
|
||||
else
|
||||
makedef = %{-e "puts 'EXPORTS', '#{EXPORT_PREFIX}Init_$(TARGET)'"}
|
||||
|
|
Loading…
Reference in a new issue