1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/enc/trans
yugui 3fa3f9abb9 Supports static linking of extensions and encodings again.
Fixes --with-static-linked-ext.

Patch by Google Inc. [ruby-core:45073].

* Makefile.in (ENCOBJS, EXTOBJS): New variables to specify static
  linked libraries. Also reintroduces extinit.o, introduces encinit.o
  introduces encinit.o

* common.mk: Builds static libraries rather than shared objects if
  specified.

* configure.in (LD): new substitution. 
  Avoids PIE if s

* enc/depend: Supports static linked libraries
  (libencs, libenc, libtrans): New target.

* enc/encinit.c.erb: new template to generate the initialization of
  statically linked encodings.

* enc/make_encmake.rb (--module): new flag to specify whether static
  or dynamic.

* transcode_data.h (TRANS_INIT): New macro to get rid of the name
  collision of encoding initializers and transcoder initializers.

* ext/extmk.rb: Fixes the behavior on $extstatic is true.

* lib/mkmf.rb (clean-static): new target to clean up static linked
  libraries.

* ruby.c (process_options): New initializes statically linked
  encodings here.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-16 05:39:06 +00:00
..
CP
EMOJI
GB
JIS * enc/euc_jp.c: added EUC-JP-2004 and its alias EUC-JISX0213. 2012-04-24 11:14:18 +00:00
ucm Add missing tables. 2010-11-22 11:35:55 +00:00
big5-hkscs-tbl.rb * enc/trans/big5-hkscs-tbl.rb: Update table as HKSCS-2008. 2010-11-24 16:40:38 +00:00
big5-uao-tbl.rb
big5.trans Supports static linking of extensions and encodings again. 2012-05-16 05:39:06 +00:00
chinese.trans Supports static linking of extensions and encodings again. 2012-05-16 05:39:06 +00:00
cp850-tbl.rb
cp852-tbl.rb
cp855-tbl.rb
cp949-tbl.rb
emoji-exchange-tbl.rb
emoji.trans Supports static linking of extensions and encodings again. 2012-05-16 05:39:06 +00:00
emoji_iso2022_kddi.trans Supports static linking of extensions and encodings again. 2012-05-16 05:39:06 +00:00
emoji_sjis_docomo.trans Supports static linking of extensions and encodings again. 2012-05-16 05:39:06 +00:00
emoji_sjis_kddi.trans Supports static linking of extensions and encodings again. 2012-05-16 05:39:06 +00:00
emoji_sjis_softbank.trans Supports static linking of extensions and encodings again. 2012-05-16 05:39:06 +00:00
escape.trans Supports static linking of extensions and encodings again. 2012-05-16 05:39:06 +00:00
euckr-tbl.rb
gb18030-tbl.rb
gb18030.trans Supports static linking of extensions and encodings again. 2012-05-16 05:39:06 +00:00
gbk-tbl.rb
gbk.trans Supports static linking of extensions and encodings again. 2012-05-16 05:39:06 +00:00
ibm437-tbl.rb
ibm737-tbl.rb * enc/trans/ibm737-tbl.rb: greek code page. fixes #4738 2011-05-19 15:58:09 +00:00
ibm775-tbl.rb
ibm852-tbl.rb
ibm855-tbl.rb
ibm857-tbl.rb
ibm860-tbl.rb
ibm861-tbl.rb
ibm862-tbl.rb
ibm863-tbl.rb
ibm865-tbl.rb
ibm866-tbl.rb
ibm869-tbl.rb
iso-8859-1-tbl.rb
iso-8859-2-tbl.rb
iso-8859-3-tbl.rb
iso-8859-4-tbl.rb
iso-8859-5-tbl.rb
iso-8859-6-tbl.rb
iso-8859-7-tbl.rb
iso-8859-8-tbl.rb
iso-8859-9-tbl.rb
iso-8859-10-tbl.rb
iso-8859-11-tbl.rb
iso-8859-13-tbl.rb
iso-8859-14-tbl.rb
iso-8859-15-tbl.rb
iso-8859-16-tbl.rb * enc/trans/iso-8859-16-tbl.rb: add ISO-8859-16 converter. 2011-12-09 10:27:37 +00:00
iso2022.trans Supports static linking of extensions and encodings again. 2012-05-16 05:39:06 +00:00
japanese.trans Supports static linking of extensions and encodings again. 2012-05-16 05:39:06 +00:00
japanese_euc.trans Supports static linking of extensions and encodings again. 2012-05-16 05:39:06 +00:00
japanese_sjis.trans Supports static linking of extensions and encodings again. 2012-05-16 05:39:06 +00:00
koi8-r-tbl.rb
koi8-u-tbl.rb
korean.trans Supports static linking of extensions and encodings again. 2012-05-16 05:39:06 +00:00
maccroatian-tbl.rb
maccyrillic-tbl.rb
macgreek-tbl.rb
maciceland-tbl.rb
macroman-tbl.rb
macromania-tbl.rb
macturkish-tbl.rb
macukraine-tbl.rb
newline.trans
single_byte.trans Supports static linking of extensions and encodings again. 2012-05-16 05:39:06 +00:00
tis-620-tbl.rb
transdb.c
utf8_mac-tbl.rb
utf8_mac.trans Supports static linking of extensions and encodings again. 2012-05-16 05:39:06 +00:00
utf_16_32.trans Supports static linking of extensions and encodings again. 2012-05-16 05:39:06 +00:00
windows-874-tbl.rb
windows-1250-tbl.rb
windows-1251-tbl.rb
windows-1252-tbl.rb
windows-1253-tbl.rb
windows-1254-tbl.rb
windows-1255-tbl.rb
windows-1256-tbl.rb
windows-1257-tbl.rb