summaryrefslogtreecommitdiff
path: root/ext/iconv/extconf.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-08 10:15:50 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-08 10:15:50 +0000
commit2b291d3806d85d6a87963dfcc88750e89e147b2c (patch)
tree1f3566cbe636b9184a5840f09538f02b6a99c5b5 /ext/iconv/extconf.rb
parent04bdcf84328eec8e144b3b9e0a1ee4407d71d594 (diff)
* 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.rb4
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