From 2b291d3806d85d6a87963dfcc88750e89e147b2c Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 8 Oct 2005 10:15:50 +0000 Subject: * ext/iconv/charset_alias.rb: parse config.charset_alias file directly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/iconv/extconf.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/iconv/extconf.rb') diff --git a/ext/iconv/extconf.rb b/ext/iconv/extconf.rb index 1fe2d8a932..71221d60a1 100644 --- a/ext/iconv/extconf.rb +++ b/ext/iconv/extconf.rb @@ -33,7 +33,7 @@ if have_func("iconv", "iconv.h") or require 'uri' scheme = URI.parse(conf).scheme else - conf = prefix + "config.charset" + conf = "$(srcdir)/config.charset" end $cleanfiles << wrapper end @@ -42,7 +42,7 @@ if have_func("iconv", "iconv.h") or open("Makefile", "a") do |mf| mf.print("\nall: #{wrapper}\n\n#{wrapper}: #{prefix}charset_alias.rb") mf.print(" ", conf) unless scheme - mf.print("\n\t$(RUBY) ", prefix, "charset_alias.rb ", conf, " $@\n") + mf.print("\n\t$(RUBY) $(srcdir)/charset_alias.rb #{conf} $@\n") end end end -- cgit v1.2.3