Blame SOURCES/00111-no-static-lib.patch

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