summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-25 02:50:24 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-25 02:50:24 +0000
commitcdaadbd9032afa66f8a92cc9d8b5c029f5630815 (patch)
treecf5ced4f59c367a7ba2d0a2f40a3ddca449244c3
parent0834056aec212978049db29a78718c18e5550f30 (diff)
* lib/mkmf.rb (create_makefile):fixed the variables order because
converter proc refers the separator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--lib/mkmf.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 42d49af..2b0d051 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Jan 25 11:50:20 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * lib/mkmf.rb (create_makefile):fixed the variables order because
+ converter proc refers the separator.
+
Sun Jan 25 11:25:10 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* Makefile.in, win32/Makefile.sub (RMDIRS): remove directory and
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index 1d46f6c..ec26479 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -1657,12 +1657,12 @@ static: $(STATIC_LIB)#{$extout ? " install-rb" : ""}
mfile.print CLEANINGS
fsep = config_string('BUILD_FILE_SEPARATOR') {|s| s unless s == "/"}
if fsep
+ sep = ":/=#{fsep}"
fseprepl = proc {|s|
s = s.gsub("/", fsep)
s = s.gsub(/(\$\(\w+)(\))/) {$1+sep+$2}
s = s.gsub(/(\$\{\w+)(\})/) {$1+sep+$2}
}
- sep = ":/=#{fsep}"
else
fseprepl = proc {|s| s}
sep = ""