summaryrefslogtreecommitdiff
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2013-07-08 14:33:03 -0700
committerNed Deily <nad@acm.org>2013-07-08 14:33:03 -0700
commitb258f2d206805ad2cd7ef336f247a2e4393d908e (patch)
tree0b8aced7079eecce0d6ddb59e44fcfa5a78b40c9 /Makefile.pre.in
parent5cd8da58ba772f2bc261729e56b7f3e7571b50a6 (diff)
downloadcpython-b258f2d206805ad2cd7ef336f247a2e4393d908e.tar.gz
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 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 \