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: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78094ac53eff9bb9a2efadd1b03d8175d773afcd;p=thirdparty%2FPython%2Fcpython.git 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 abfc64e79f60..00e589fcf78c 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 \