0424a4
diff --git a/Makefile.pre.in b/Makefile.pre.in
0424a4
index 70e5927..04c8e3d 100644
0424a4
--- a/Makefile.pre.in
0424a4
+++ b/Makefile.pre.in
0424a4
@@ -556,7 +556,7 @@ clinic: $(BUILDPYTHON) $(srcdir)/Modules/_blake2/blake2s_impl.c
bf3516
 	$(RUNSHARED) $(PYTHON_FOR_BUILD) ./Tools/clinic/clinic.py --make
aa4aef
 
aa4aef
 # Build the interpreter
Matej Stuchlik abb2ff
-$(BUILDPYTHON):	Programs/python.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY)
0424a4
+$(BUILDPYTHON):	Programs/python.o $(LDLIBRARY) $(PY3LIBRARY)
Matej Stuchlik abb2ff
 	$(LINKCC) $(PY_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/python.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
5080ff
 
58f477
 platform: $(BUILDPYTHON) pybuilddir.txt
0424a4
@@ -601,18 +601,6 @@ sharedmods: $(BUILDPYTHON) pybuilddir.txt Modules/_math.o
62d720
 		$(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build
aa4aef
 
0424a4
 
aa4aef
-# Build static library
aa4aef
-# avoid long command lines, same as LIBRARY_OBJS
aa4aef
-$(LIBRARY): $(LIBRARY_OBJS)
aa4aef
-	-rm -f $@
aa4aef
-	$(AR) $(ARFLAGS) $@ Modules/getbuildinfo.o
aa4aef
-	$(AR) $(ARFLAGS) $@ $(PARSER_OBJS)
aa4aef
-	$(AR) $(ARFLAGS) $@ $(OBJECT_OBJS)
1c94c1
-	$(AR) $(ARFLAGS) $@ $(PYTHON_OBJS) Python/frozen.o
0424a4
-	$(AR) $(ARFLAGS) $@ $(MODULE_OBJS)
aa4aef
-	$(AR) $(ARFLAGS) $@ $(MODOBJS)
aa4aef
-	$(RANLIB) $@
aa4aef
-
5080ff
 libpython$(LDVERSION).so: $(LIBRARY_OBJS)
aa4aef
 	if test $(INSTSONAME) != $(LDLIBRARY); then \
5080ff
 		$(BLDSHARED) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
0424a4
@@ -702,7 +690,7 @@ Modules/Setup: $(srcdir)/Modules/Setup.dist
cce760
 		echo "-----------------------------------------------"; \
cce760
 	fi
cce760
 
Matej Stuchlik abb2ff
-Programs/_testembed: Programs/_testembed.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY)
Matej Stuchlik abb2ff
+Programs/_testembed: Programs/_testembed.o $(LDLIBRARY) $(PY3LIBRARY)
Matej Stuchlik abb2ff
 	$(LINKCC) $(PY_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/_testembed.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
cce760
 
cce760
 ############################################################################
0424a4
@@ -1382,18 +1370,6 @@ libainstall:	all python-config
aa4aef
 		else	true; \
aa4aef
 		fi; \
aa4aef
 	done
aa4aef
-	@if test -d $(LIBRARY); then :; else \
aa4aef
-		if test "$(PYTHONFRAMEWORKDIR)" = no-framework; then \
58f477
-			if test "$(SHLIB_SUFFIX)" = .dll; then \
aa4aef
-				$(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBPL) ; \
aa4aef
-			else \
aa4aef
-				$(INSTALL_DATA) $(LIBRARY) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \
aa4aef
-				$(RANLIB) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \
aa4aef
-			fi; \
aa4aef
-		else \
aa4aef
-			echo Skip install of $(LIBRARY) - use make frameworkinstall; \
aa4aef
-		fi; \
aa4aef
-	fi
aa4aef
 	$(INSTALL_DATA) Modules/config.c $(DESTDIR)$(LIBPL)/config.c
Matej Stuchlik abb2ff
 	$(INSTALL_DATA) Programs/python.o $(DESTDIR)$(LIBPL)/python.o
aa4aef
 	$(INSTALL_DATA) $(srcdir)/Modules/config.c.in $(DESTDIR)$(LIBPL)/config.c.in