1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* common.mk (ruby.imp): all symbols in static library need to be

exported, so that encoding-extensions can be loaded.  based on a
  patch from Yutaka Kanemoto <kinpoco AT gmail.com> at
  [ruby-talk:332282].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-03-28 02:10:34 +00:00
parent 48379c7309
commit f4cecb53bd
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
Sat Mar 28 11:10:32 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* common.mk (ruby.imp): all symbols in static library need to be
exported, so that encoding-extensions can be loaded. based on a
patch from Yutaka Kanemoto <kinpoco AT gmail.com> a
[ruby-talk:332282].
Sat Mar 28 08:49:47 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> Sat Mar 28 08:49:47 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* sprintf.c (rb_str_format): checks if named argument given twice. * sprintf.c (rb_str_format): checks if named argument given twice.

View file

@ -168,8 +168,8 @@ $(STATIC_RUBY)$(EXEEXT): $(MAINOBJ) $(DLDOBJS) $(EXTOBJS) $(LIBRUBY_A)
@$(RM) $@ @$(RM) $@
$(PURIFY) $(CC) $(MAINOBJ) $(DLDOBJS) $(EXTOBJS) $(LIBRUBY_A) $(MAINLIBS) $(EXTLIBS) $(LIBS) $(OUTFLAG)$@ $(LDFLAGS) $(XLDFLAGS) $(PURIFY) $(CC) $(MAINOBJ) $(DLDOBJS) $(EXTOBJS) $(LIBRUBY_A) $(MAINLIBS) $(EXTLIBS) $(LIBS) $(OUTFLAG)$@ $(LDFLAGS) $(XLDFLAGS)
ruby.imp: $(COMMONOBJS) ruby.imp: $(OBJS)
@$(NM) -Pgp $(COMMONOBJS) | awk 'BEGIN{print "#!"}; $$2~/^[BD]$$/{print $$1}' | sort -u -o $@ @$(NM) -Pgp $(OBJS) | awk 'BEGIN{print "#!"}; $$2~/^[BD]$$/{print $$1}' | sort -u -o $@
install: install-nodoc $(RDOCTARGET) install: install-nodoc $(RDOCTARGET)
install-all: install-nodoc install-doc install-capi install-all: install-nodoc install-doc install-capi