ruby-changes:56899
From: Nobuyoshi <ko1@a...>
Date: Sat, 10 Aug 2019 01:42:23 +0900 (JST)
Subject: [ruby-changes:56899] Nobuyoshi Nakada: 162cf2879a (master): Init function is need to link statically
https://git.ruby-lang.org/ruby.git/commit/?id=162cf2879a From 162cf2879af592f8aa458311486749bed9a6bf55 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sat, 10 Aug 2019 01:39:36 +0900 Subject: Init function is need to link statically diff --git a/enc/gb2312.c b/enc/gb2312.c index 7756534..20c8f5b 100644 --- a/enc/gb2312.c +++ b/enc/gb2312.c @@ -1,5 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/enc/gb2312.c#L1 #include "regenc.h" +void +Init_gb2312(void) +{ +} + ENC_REPLICATE("GB2312", "EUC-KR") ENC_ALIAS("EUC-CN", "GB2312") ENC_ALIAS("eucCN", "GB2312") -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/