mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/extmk.rb.in (create_makefile): create def file only if
it does not yet exist. * lib/mkmf.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
57ca9e547b
commit
e2de605439
3 changed files with 15 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
Tue Apr 3 09:56:20 2001 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/extmk.rb.in (create_makefile): create def file only if
|
||||||
|
it does not yet exist.
|
||||||
|
|
||||||
|
* lib/mkmf.rb: ditto.
|
||||||
|
|
||||||
Mon Apr 2 14:25:49 2001 Shugo Maeda <shugo@ruby-lang.org>
|
Mon Apr 2 14:25:49 2001 Shugo Maeda <shugo@ruby-lang.org>
|
||||||
|
|
||||||
* lib/monitor.rb (wait): ensure reentrance.
|
* lib/monitor.rb (wait): ensure reentrance.
|
||||||
|
|
|
@ -381,8 +381,10 @@ def create_makefile(target)
|
||||||
|
|
||||||
defflag = ''
|
defflag = ''
|
||||||
if RUBY_PLATFORM =~ /cygwin|mingw/ and not $static
|
if RUBY_PLATFORM =~ /cygwin|mingw/ and not $static
|
||||||
open(target + '.def', 'wb') do |f|
|
if not File.exist? target + '.def'
|
||||||
f.print "EXPORTS\n", "Init_", target, "\n"
|
open(target + '.def', 'wb') do |f|
|
||||||
|
f.print "EXPORTS\n", "Init_", target, "\n"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
defflag = "--def=" + target + ".def"
|
defflag = "--def=" + target + ".def"
|
||||||
end
|
end
|
||||||
|
|
|
@ -380,8 +380,10 @@ def create_makefile(target, srcdir = File.dirname($0))
|
||||||
|
|
||||||
defflag = ''
|
defflag = ''
|
||||||
if RUBY_PLATFORM =~ /cygwin|mingw/
|
if RUBY_PLATFORM =~ /cygwin|mingw/
|
||||||
open(target + '.def', 'wb') do |f|
|
if not File.exist? target + '.def'
|
||||||
f.print "EXPORTS\n", "Init_", target, "\n"
|
open(target + '.def', 'wb') do |f|
|
||||||
|
f.print "EXPORTS\n", "Init_", target, "\n"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
defflag = "--def=" + target + ".def"
|
defflag = "--def=" + target + ".def"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue