[Python-checkins] bpo-36721: Fix pkg-config symbolic links on "make install" (GH-13551)

Victor Stinner webhook-mailer at python.org
Fri May 24 12:27:17 EDT 2019


https://github.com/python/cpython/commit/bc66faccb8a6140e7e07b5e67843b7f21152c144
commit: bc66faccb8a6140e7e07b5e67843b7f21152c144
branch: master
author: Victor Stinner <vstinner at redhat.com>
committer: GitHub <noreply at github.com>
date: 2019-05-24T18:27:13+02:00
summary:

bpo-36721: Fix pkg-config symbolic links on "make install" (GH-13551)

files:
M Makefile.pre.in

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)



More information about the Python-checkins mailing list