From cdaadbd9032afa66f8a92cc9d8b5c029f5630815 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 25 Jan 2009 02:50:24 +0000 Subject: * 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 --- lib/mkmf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 1d46f6c299..ec264796ae 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 = "" -- cgit v1.2.3