summaryrefslogtreecommitdiff
path: root/ext/iconv
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-14 04:31:11 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-14 04:31:11 +0000
commit32f518dcd80b73ef17a3c59a6054edd81fc8e74b (patch)
tree9b75e3010b43c9a9b8edd0111fef955742981839 /ext/iconv
parent0ff4feb6a532ba7b485c2fbc1643c18c8b35af3d (diff)
* ext/iconv/extconf.rb: wrapper iconv.rb is dependent on platform.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/iconv')
-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 8dfd562a40..36cd60ed15 100644
--- a/ext/iconv/extconf.rb
+++ b/ext/iconv/extconf.rb
@@ -24,14 +24,14 @@ test(iconv_t cd, char **inptr, size_t *inlen, char **outptr, size_t *outlen)
if conf
prefix = '$(srcdir)'
prefix = $nmake ? "{#{prefix}}" : "#{prefix}/"
- $INSTALLFILES = [["./iconv.rb", "$(RUBYLIBDIR)"]]
+ wrapper = "./iconv.rb"
+ $INSTALLFILES = [[wrapper, "$(RUBYARCHDIR)"]]
if String === conf
require 'uri'
scheme = URI.parse(conf).scheme
else
conf = prefix + "config.charset"
end
- wrapper = "iconv.rb"
$cleanfiles << wrapper
end
create_makefile("iconv")