diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-19 12:21:49 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-19 12:21:49 +0000 |
commit | f0810814bd9bbb4226ba55bb7e9e1f46d9fe2067 (patch) | |
tree | c9cb0a73751a388fc053d0f14bfc99af9bced6ef | |
parent | ff331d14420706de44204c046d6063b39a6ae88e (diff) | |
download | ruby-f0810814bd9bbb4226ba55bb7e9e1f46d9fe2067.tar.gz |
extmk.rb: hack for -framework
* ext/extmk.rb (mf.macro): replace NULs with spaces also in exts.mk
which is used when dissable-shared. fix r36437.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rwxr-xr-x | ext/extmk.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb index 587bfadce0..e3685d0c7d 100755 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -636,6 +636,7 @@ if $configure_only and $command_output w = w0 = name.size + 2 h = " \\\n" + "\t" * (w / 8) + " " * (w % 8) values.each do |s| + s = s.tr("\0", " ") if s.size + w > max print h w = w0 |