b7580a
diff -up Python-2.7.3/Makefile.pre.in.no-static-lib Python-2.7.3/Makefile.pre.in
b7580a
--- Python-2.7.3/Makefile.pre.in.no-static-lib	2013-02-19 14:03:40.801993224 -0500
b7580a
+++ Python-2.7.3/Makefile.pre.in	2013-02-19 14:04:44.070988898 -0500
b7580a
@@ -397,7 +397,7 @@ coverage:
b7580a
 
b7580a
 
b7580a
 # Build the interpreter
b7580a
-$(BUILDPYTHON):	Modules/python.o $(LIBRARY) $(LDLIBRARY)
b7580a
+$(BUILDPYTHON):	Modules/python.o $(LDLIBRARY)
b7580a
 		$(LINKCC) $(CFLAGS) $(LDFLAGS) $(LINKFORSHARED) -o $@ \
b7580a
 			Modules/python.o \
b7580a
 			$(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
b7580a
@@ -413,18 +413,6 @@ sharedmods: $(BUILDPYTHON)
b7580a
 	$(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \
b7580a
 		$(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build
b7580a
 
b7580a
-# Build static library
b7580a
-# avoid long command lines, same as LIBRARY_OBJS
b7580a
-$(LIBRARY): $(LIBRARY_OBJS)
b7580a
-	-rm -f $@
b7580a
-	$(AR) $(ARFLAGS) $@ Modules/getbuildinfo.o
b7580a
-	$(AR) $(ARFLAGS) $@ $(PARSER_OBJS)
b7580a
-	$(AR) $(ARFLAGS) $@ $(OBJECT_OBJS)
b7580a
-	$(AR) $(ARFLAGS) $@ $(PYTHON_OBJS)
b7580a
-	$(AR) $(ARFLAGS) $@ $(MODULE_OBJS) $(SIGNAL_OBJS)
b7580a
-	$(AR) $(ARFLAGS) $@ $(MODOBJS)
b7580a
-	$(RANLIB) $@
b7580a
-
b7580a
 libpython$(VERSION).so: $(LIBRARY_OBJS)
b7580a
 	if test $(INSTSONAME) != $(LDLIBRARY); then \
b7580a
 		$(BLDSHARED) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
b7580a
@@ -1021,18 +1009,6 @@ libainstall:	all python-config
b7580a
 		else	true; \
b7580a
 		fi; \
b7580a
 	done
b7580a
-	@if test -d $(LIBRARY); then :; else \
b7580a
-		if test "$(PYTHONFRAMEWORKDIR)" = no-framework; then \
b7580a
-			if test "$(SO)" = .dll; then \
b7580a
-				$(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBPL) ; \
b7580a
-			else \
b7580a
-				$(INSTALL_DATA) $(LIBRARY) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \
b7580a
-				$(RANLIB) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \
b7580a
-			fi; \
b7580a
-		else \
b7580a
-			echo Skip install of $(LIBRARY) - use make frameworkinstall; \
b7580a
-		fi; \
b7580a
-	fi
b7580a
 	$(INSTALL_DATA) Modules/config.c $(DESTDIR)$(LIBPL)/config.c
b7580a
 	$(INSTALL_DATA) Modules/python.o $(DESTDIR)$(LIBPL)/python.o
b7580a
 	$(INSTALL_DATA) $(srcdir)/Modules/config.c.in $(DESTDIR)$(LIBPL)/config.c.in