diff --git a/Makefile.pre.in b/Makefile.pre.in index abfc64e79f6..00e589fcf78 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -945,7 +945,7 @@ altbininstall: $(BUILDPYTHON) fi; \ (cd $(DESTDIR)$(BINDIR); $(LN) python$(LDVERSION)$(EXE) python$(VERSION)$(EXE)); \ fi - if test -f $(LDLIBRARY); then \ + if test -f $(LDLIBRARY) && test "$(PYTHONFRAMEWORKDIR)" = "no-framework" ; then \ if test -n "$(DLLLIBRARY)" ; then \ $(INSTALL_SHARED) $(DLLLIBRARY) $(DESTDIR)$(BINDIR); \ else \