From fe7773b93351ace7ea69f6e2d4dbf106746b6e40 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 16 Nov 2018 06:52:01 +0000 Subject: common.mk: fix the pattern to be hidden * common.mk (ruby.imp): consider symbol prefix, remove InitVM, and fix internal symbols start with a dot. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common.mk') diff --git a/common.mk b/common.mk index 28979bcc48..7570a9380f 100644 --- a/common.mk +++ b/common.mk @@ -344,7 +344,7 @@ $(STATIC_RUBY)$(EXEEXT): $(MAINOBJ) $(DLDOBJS) $(EXTOBJS) $(LIBRUBY_A) ruby.imp: $(COMMONOBJS) $(Q)$(NM) -Pgp $(COMMONOBJS) | \ - awk 'BEGIN{print "#!"}; $$2~/^[BDT]$$/&&$$1!~/^(Init_|ruby_static_id_|.*_threadptr_|rb_ec_\.)/{print $$1}' | \ + awk 'BEGIN{print "#!"}; $$2~/^[BDT]$$/&&$$1!~/^_?(Init_|InitVM_|ruby_static_id_|.*_threadptr_|rb_ec_)|^\./{print $$1}' | \ sort -u -o $@ install: install-$(INSTALLDOC) -- cgit v1.2.3