From: Victor Stinner Date: Fri, 24 May 2019 16:27:13 +0000 (+0200) Subject: bpo-36721: Fix pkg-config symbolic links on "make install" (GH-13551) X-Git-Tag: v3.8.0b1~223 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bc66faccb8a6140e7e07b5e67843b7f21152c144;p=thirdparty%2FPython%2Fcpython.git bpo-36721: Fix pkg-config symbolic links on "make install" (GH-13551) --- diff --git a/Makefile.pre.in b/Makefile.pre.in index a149fdec4dcf..466cd763c98d 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1261,8 +1261,8 @@ bininstall: altbininstall (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(LDVERSION)-config python$(VERSION)-config); \ rm -f $(DESTDIR)$(LIBPC)/python-$(LDVERSION).pc; \ (cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION).pc python-$(LDVERSION).pc); \ - rm -f $(DESTDIR)$(LIBPC)/python-embed-$(LDVERSION).pc; \ - (cd $(DESTDIR)$(LIBPC); $(LN) -s python-embed-$(VERSION).pc python-embed-$(LDVERSION).pc); \ + rm -f $(DESTDIR)$(LIBPC)/python-$(LDVERSION)-embed.pc; \ + (cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION)-embed.pc python-$(LDVERSION)-embed.pc); \ fi -rm -f $(DESTDIR)$(BINDIR)/python3-config (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python3-config)