diff options
author | kanemoto <kanemoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-27 16:26:31 +0000 |
---|---|---|
committer | kanemoto <kanemoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-27 16:26:31 +0000 |
commit | 9c164e0384246ebdd6cd2194983d8ecf5a3891b9 (patch) | |
tree | 0c2a2690a49fec1a5dea91d0e97bf901bdf84126 /common.mk | |
parent | a46b6d4a2eca2bc94ca7975627ef60edd8f87eb5 (diff) | |
download | ruby-9c164e0384246ebdd6cd2194983d8ecf5a3891b9.tar.gz ruby-9c164e0384246ebdd6cd2194983d8ecf5a3891b9.tar.xz ruby-9c164e0384246ebdd6cd2194983d8ecf5a3891b9.zip |
* common.mk (ruby.imp): add text section [Bug #2064].
* common.mk (ruby.imp): do not export Init_*.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -170,7 +170,9 @@ $(STATIC_RUBY)$(EXEEXT): $(MAINOBJ) $(DLDOBJS) $(EXTOBJS) $(LIBRUBY_A) $(PURIFY) $(CC) $(MAINOBJ) $(DLDOBJS) $(EXTOBJS) $(LIBRUBY_A) $(MAINLIBS) $(EXTLIBS) $(LIBS) $(OUTFLAG)$@ $(LDFLAGS) $(XLDFLAGS) ruby.imp: $(EXPORTOBJS) - @$(NM) -Pgp $(EXPORTOBJS) | awk 'BEGIN{print "#!"}; $$2~/^[BD]$$/{print $$1}' | sort -u -o $@ + @$(NM) -Pgp $(EXPORTOBJS) | \ + awk 'BEGIN{print "#!"}; $$2~/^[BDT]$$/&&$$1!~/^(Init_|\.)/{print $$1}' | \ + sort -u -o $@ install: install-$(INSTALLDOC) docs: $(DOCTARGETS) |