diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-13 14:33:30 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-13 14:33:30 +0000 |
commit | c84f1057b412af5ec1aed050e3f9505ceb03bad3 (patch) | |
tree | d2974b5b17a60ef0dc9c39bbbfcde843300d64b0 /ext/iconv/extconf.rb | |
parent | 9401edfe229e14635be9d480473f63b4cbf0a580 (diff) |
* ext/iconv/charset_alias.rb (charset_alias): create wrapper libray
even if no target matched.
* ext/iconv/extconf.rb: create wrapper library under RUBYARCHDIR
directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/iconv/extconf.rb')
-rw-r--r-- | ext/iconv/extconf.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/iconv/extconf.rb b/ext/iconv/extconf.rb index 2d6f8538d7..359771e8a9 100644 --- a/ext/iconv/extconf.rb +++ b/ext/iconv/extconf.rb @@ -26,8 +26,12 @@ if have_func("iconv", "iconv.h") or if conf prefix = '$(srcdir)' prefix = $nmake ? "{#{prefix}}" : "#{prefix}/" - wrapper = "./iconv.rb" - $INSTALLFILES = [[wrapper, "$(RUBYARCHDIR)"]] + if $extout + wrapper = "$(RUBYARCHDIR)/iconv.rb" + else + wrapper = "./iconv.rb" + $INSTALLFILES = [[wrapper, "$(RUBYARCHDIR)"]] + end if String === conf require 'uri' scheme = URI.parse(conf).scheme |