summaryrefslogtreecommitdiff
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
parentdd8f7a6cfdce76078c1deb3d39e6f95edc1283c1 (diff)
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
-rw-r--r--ChangeLog5
-rwxr-xr-xext/extmk.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 610124417f1..d33f8b33041 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
* string.c: add internal API rb_str_locktmp_ensure().
diff --git a/ext/extmk.rb b/ext/extmk.rb
index 1ca5efd52cd..ef9afa06762 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