]> granicus.if.org Git - python/commitdiff
bpo-36721: Fix pkg-config symbolic links on "make install" (GH-13551)
authorVictor Stinner <vstinner@redhat.com>
Fri, 24 May 2019 16:27:13 +0000 (18:27 +0200)
committerGitHub <noreply@github.com>
Fri, 24 May 2019 16:27:13 +0000 (18:27 +0200)
Makefile.pre.in

index a149fdec4dcf40dcd8ea42a6fc6e1eac00346ed9..466cd763c98dee39d1a41b3aa16a9a4dc44f3241 100644 (file)
@@ -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)