1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

extmk.rb: static extensions

* ext/extmk.rb (extmake): should make static libraries for extensions
  to be statically linked.  [Bug #7948]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-07-28 11:10:52 +00:00
parent dd8f7a6cfd
commit 5c2f4fbcbd
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sun Jul 28 20:10:49 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/extmk.rb (extmake): should make static libraries for extensions
to be statically linked. [Bug #7948]
Sun Jul 28 17:38:32 2013 Masaki Matsushita <glass.saga@gmail.com> Sun Jul 28 17:38:32 2013 Masaki Matsushita <glass.saga@gmail.com>
* string.c: add internal API rb_str_locktmp_ensure(). * string.c: add internal API rb_str_locktmp_ensure().

View file

@ -227,7 +227,7 @@ def extmake(target)
f.rewind f.rewind
f.print(s) f.print(s)
f.truncate(f.pos) f.truncate(f.pos)
end end unless $static
else else
open(makefile, "wb") do |f| open(makefile, "wb") do |f|
f.puts "# " + DUMMY_SIGNATURE f.puts "# " + DUMMY_SIGNATURE