From 7e932df0d519797535020a38f58da02bdb59c13c 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/trunk@5462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ ext/iconv/extconf.rb | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f1fee7acdd..3d23d456ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Jan 14 13:30:52 2004 Nobuyoshi Nakada + + * ext/iconv/extconf.rb: wrapper iconv.rb is dependent on platform. + Wed Jan 14 09:32:02 2004 NAKAMURA Usaku * MANIFEST: add test/net/test_httpheader.rb. (commit miss?) 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")