aboutsummaryrefslogtreecommitdiffstats
path: root/ext/extmk.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-28 11:10:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-28 11:10:52 +0000
commit5c2f4fbcbd26c1927630564cae55fbb5f2d5791d (patch)
treed645320e588019ee9cfea4b1092d67f2c918cfd8 /ext/extmk.rb
parentdd8f7a6cfdce76078c1deb3d39e6f95edc1283c1 (diff)
downloadruby-5c2f4fbcbd26c1927630564cae55fbb5f2d5791d.tar.gz
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
Diffstat (limited to 'ext/extmk.rb')
-rwxr-xr-xext/extmk.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index 1ca5efd52c..ef9afa0676 100755
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -227,7 +227,7 @@ def extmake(target)
f.rewind
f.print(s)
f.truncate(f.pos)
- end
+ end unless $static
else
open(makefile, "wb") do |f|
f.puts "# " + DUMMY_SIGNATURE