From 32f518dcd80b73ef17a3c59a6054edd81fc8e74b Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 14 Jan 2004 04:31:11 +0000 Subject: [PATCH] * 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 --- ChangeLog | 10 +++++++--- ext/iconv/extconf.rb | 4 ++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 34b5510b73..01209d45bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,15 +1,19 @@ +Wed Jan 14 13:31:06 2004 Nobuyoshi Nakada + + * ext/iconv/extconf.rb: wrapper iconv.rb is dependent on platform. + Tue Jan 13 18:54:28 2004 NAKAMURA, Hiroshi * lib/logger.rb(Logger#msg2str): no special treatment for the object - which responds to :to_str. commited at 2004-01-11T21:46:27 by + which responds to :to_str. commited at 2004-01-11T21:46:27 by gsinclair. * lib/logger.rb(LogDevice#initialize): remove type checking if the - given object is a String. Kernel.open handles it correctly. + given object is a String. Kernel.open handles it correctly. commited at 2004-01-11T21:46:27 by gsinclair. * test/logger/test_logger.rb: follow above change (ArgumentError -> - TypeError.) follow above commit. + TypeError.) follow above commit. Tue Jan 13 14:27:13 2004 Kazuhiro NISHIYAMA 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")