* ext/iconv/extconf.rb: wrapper iconv.rb is dependent on platform.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2004-01-14 04:31:11 +00:00
parent 55b4f43958
commit 7e932df0d5
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
Wed Jan 14 13:30:52 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/iconv/extconf.rb: wrapper iconv.rb is dependent on platform.
Wed Jan 14 09:32:02 2004 NAKAMURA Usaku <usa@ruby-lang.org>
* MANIFEST: add test/net/test_httpheader.rb. (commit miss?)

View File

@ -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")