summaryrefslogtreecommitdiff
path: root/ext/extmk.rb.in
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-06-13 04:53:39 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-06-13 04:53:39 +0000
commit8a6092725d5e54f1be68edb6098dcd08c68f939d (patch)
tree33ef218985010dc6894c9b9d24ec5f87b455fb45 /ext/extmk.rb.in
parentb3ecbfaa01e7c75bfea9c895bb7476c58e998131 (diff)
ext/exmk.rb.in, lib/singleton.rb: remove nested ""s.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb.in')
-rw-r--r--ext/extmk.rb.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in
index 34c3063..8690e7a 100644
--- a/ext/extmk.rb.in
+++ b/ext/extmk.rb.in
@@ -412,7 +412,7 @@ def create_makefile(target)
$srcdir = File.join($top_srcdir,"ext",$mdir)
mfile = open("Makefile", "w")
mfile.binmode if /mingw/ =~ RUBY_PLATFORM
- mfile.printf "\
+ mfile.printf <<EOL, if $static then "" else "@CCDLFLAGS@" end, $defs.join(" ")
SHELL = /bin/sh
#### Start of system configuration section. ####
@@ -436,7 +436,7 @@ else
"LDSHARED = @LDSHARED@ #{defflag}\n"
end
}
-", if $static then "" else "@CCDLFLAGS@" end, $defs.join(" ")
+EOL
mfile.puts "LIBPATH = #{libpath}" if libpath
mfile.puts ".SUFFIXES: .@OBJEXT@" unless "@OBJEXT@" == "o"