From: Ned Deily Date: Mon, 8 Jul 2013 21:33:03 +0000 (-0700) Subject: Avoid spurious non-fatal install errors for OS X frameworks: X-Git-Tag: v3.4.0a1~280 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=78094ac53eff9bb9a2efadd1b03d8175d773afcd;p=python Avoid spurious non-fatal install errors for OS X frameworks: for a framework install, the python shared library is installed in the frameworkinstallstructure target, not in altbininstall. --- diff --git a/Makefile.pre.in b/Makefile.pre.in index abfc64e79f..00e589fcf7 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 \