Remove unversioned phony target for pkgconfig file [Bug #18374]

It results in a circular dependency when `--with-ruby-pc=ruby.pc`
is given.  [ci skip]
This commit is contained in:
Nobuyoshi Nakada 2021-12-04 16:20:30 +09:00
parent a4964174e2
commit 4a6ca12904
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6
2 changed files with 2 additions and 1 deletions

View File

@ -424,3 +424,5 @@ endif
spec/%/ spec/%_spec.rb: programs exts PHONY
+$(RUNRUBY) -r./$(arch)-fake $(srcdir)/spec/mspec/bin/mspec-run -B $(srcdir)/spec/default.mspec $(SPECOPTS) $(patsubst %,$(srcdir)/%,$@)
ruby.pc: $(filter-out ruby.pc,$(ruby_pc))

View File

@ -318,7 +318,6 @@ $(LIBRUBY_$(LIBRUBY_WITH_EXT)): $(LIBRUBY_SO_UPDATE)
PKG_CONFIG = @PKG_CONFIG@
ruby_pc = @ruby_pc@
ruby.pc: $(ruby_pc)
$(ruby_pc): config.status Makefile
$(Q)./config.status --file=-:$(srcdir)/template/ruby.pc.in | \
sed -e 's/\$$(\([A-Za-z_][A-Za-z0-9_]*\))/$${\1}/g' \