Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 78094ac

Browse files
committed
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.
1 parent 15a0bd3 commit 78094ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile.pre.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ altbininstall: $(BUILDPYTHON)
945945
fi; \
946946
(cd $(DESTDIR)$(BINDIR); $(LN) python$(LDVERSION)$(EXE) python$(VERSION)$(EXE)); \
947947
fi
948-
if test -f $(LDLIBRARY); then \
948+
if test -f $(LDLIBRARY) && test "$(PYTHONFRAMEWORKDIR)" = "no-framework" ; then \
949949
if test -n "$(DLLLIBRARY)" ; then \
950950
$(INSTALL_SHARED) $(DLLLIBRARY) $(DESTDIR)$(BINDIR); \
951951
else \

0 commit comments

Comments
 (0)