summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2013-07-08 21:33:03 (GMT)
committerNed Deily <nad@acm.org>2013-07-08 21:33:03 (GMT)
commit78094ac53eff9bb9a2efadd1b03d8175d773afcd (patch)
tree1b99f6f0a9a30f116e3f72425e8da181158541b1 /Makefile.pre.in
parent15a0bd39658461165fd3b56ba92be5f53f8cc5a0 (diff)
downloadcpython-78094ac53eff9bb9a2efadd1b03d8175d773afcd.zip
cpython-78094ac53eff9bb9a2efadd1b03d8175d773afcd.tar.gz
cpython-78094ac53eff9bb9a2efadd1b03d8175d773afcd.tar.bz2
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.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index abfc64e..00e589f 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 \