mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
55b4f43958
commit
7e932df0d5
2 changed files with 6 additions and 2 deletions
|
@ -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>
|
Wed Jan 14 09:32:02 2004 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* MANIFEST: add test/net/test_httpheader.rb. (commit miss?)
|
* MANIFEST: add test/net/test_httpheader.rb. (commit miss?)
|
||||||
|
|
|
@ -24,14 +24,14 @@ test(iconv_t cd, char **inptr, size_t *inlen, char **outptr, size_t *outlen)
|
||||||
if conf
|
if conf
|
||||||
prefix = '$(srcdir)'
|
prefix = '$(srcdir)'
|
||||||
prefix = $nmake ? "{#{prefix}}" : "#{prefix}/"
|
prefix = $nmake ? "{#{prefix}}" : "#{prefix}/"
|
||||||
$INSTALLFILES = [["./iconv.rb", "$(RUBYLIBDIR)"]]
|
wrapper = "./iconv.rb"
|
||||||
|
$INSTALLFILES = [[wrapper, "$(RUBYARCHDIR)"]]
|
||||||
if String === conf
|
if String === conf
|
||||||
require 'uri'
|
require 'uri'
|
||||||
scheme = URI.parse(conf).scheme
|
scheme = URI.parse(conf).scheme
|
||||||
else
|
else
|
||||||
conf = prefix + "config.charset"
|
conf = prefix + "config.charset"
|
||||||
end
|
end
|
||||||
wrapper = "iconv.rb"
|
|
||||||
$cleanfiles << wrapper
|
$cleanfiles << wrapper
|
||||||
end
|
end
|
||||||
create_makefile("iconv")
|
create_makefile("iconv")
|
||||||
|
|
Loading…
Reference in a new issue