diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-08 10:15:50 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-08 10:15:50 +0000 |
commit | 2b291d3806d85d6a87963dfcc88750e89e147b2c (patch) | |
tree | 1f3566cbe636b9184a5840f09538f02b6a99c5b5 /ext/iconv/extconf.rb | |
parent | 04bdcf84328eec8e144b3b9e0a1ee4407d71d594 (diff) | |
download | ruby-2b291d3806d85d6a87963dfcc88750e89e147b2c.tar.gz |
* 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
Diffstat (limited to 'ext/iconv/extconf.rb')
-rw-r--r-- | ext/iconv/extconf.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |