diff options
Diffstat (limited to 'ext/iconv/extconf.rb')
-rw-r--r-- | ext/iconv/extconf.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/iconv/extconf.rb b/ext/iconv/extconf.rb index 7176fa45e3..8dfd562a40 100644 --- a/ext/iconv/extconf.rb +++ b/ext/iconv/extconf.rb @@ -31,11 +31,13 @@ test(iconv_t cd, char **inptr, size_t *inlen, char **outptr, size_t *outlen) else conf = prefix + "config.charset" end + wrapper = "iconv.rb" + $cleanfiles << wrapper end create_makefile("iconv") if conf open("Makefile", "a") do |mf| - mf.print("\nall: iconv.rb\n\niconv.rb: ", prefix, "charset_alias.rb") + mf.print("\nall: #{wrapper}\n\n#{wrapper}: #{prefix}charset_alias.rb") mf.print(" ", conf) unless scheme mf.print("\n\t$(RUBY) ", prefix, "charset_alias.rb ", conf, " $@\n") end |