churchyard / rpms / python38

Forked from rpms/python38 2 years ago
Clone
0424a4f
diff --git a/Makefile.pre.in b/Makefile.pre.in
1fb3c04
index f8ff1ce..f297d05 100644
0424a4f
--- a/Makefile.pre.in
0424a4f
+++ b/Makefile.pre.in
1fb3c04
@@ -573,7 +573,7 @@ clinic: check-clean-src $(srcdir)/Modules/_blake2/blake2s_impl.c
ef18b45
 	$(PYTHON_FOR_REGEN) $(srcdir)/Tools/clinic/clinic.py --make --srcdir $(srcdir)
aa4aef2
 
aa4aef2
 # Build the interpreter
Matej Stuchlik abb2ff8
-$(BUILDPYTHON):	Programs/python.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY)
0424a4f
+$(BUILDPYTHON):	Programs/python.o $(LDLIBRARY) $(PY3LIBRARY)
1fb3c04
 	$(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/python.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS)
5080ffc
 
58f477b
 platform: $(BUILDPYTHON) pybuilddir.txt
1fb3c04
@@ -621,12 +621,6 @@ sharedmods: $(BUILDPYTHON) pybuilddir.txt Modules/_math.o
d668c1e
 		_TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \
62d7207
 		$(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build
aa4aef2
 
d668c1e
-
aa4aef2
-# Build static library
aa4aef2
-$(LIBRARY): $(LIBRARY_OBJS)
aa4aef2
-	-rm -f $@
d668c1e
-	$(AR) $(ARFLAGS) $@ $(LIBRARY_OBJS)
aa4aef2
-
1fb3c04
 libpython$(LDVERSION).so: $(LIBRARY_OBJS) $(DTRACE_OBJS)
aa4aef2
 	if test $(INSTSONAME) != $(LDLIBRARY); then \
1fb3c04
 		$(BLDSHARED) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM); \
1fb3c04
@@ -704,7 +698,7 @@ Makefile Modules/config.c: Makefile.pre \
1fb3c04
 	@echo "The Makefile was updated, you may need to re-run make."
1fb3c04
 
cce760d
 
Matej Stuchlik abb2ff8
-Programs/_testembed: Programs/_testembed.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY)
Matej Stuchlik abb2ff8
+Programs/_testembed: Programs/_testembed.o $(LDLIBRARY) $(PY3LIBRARY)
1fb3c04
 	$(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/_testembed.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS)
cce760d
 
cce760d
 ############################################################################
1fb3c04
@@ -1545,17 +1539,6 @@ libainstall:	@DEF_MAKE_RULE@ python-config
aa4aef2
 		else	true; \
aa4aef2
 		fi; \
aa4aef2
 	done
aa4aef2
-	@if test -d $(LIBRARY); then :; else \
aa4aef2
-		if test "$(PYTHONFRAMEWORKDIR)" = no-framework; then \
58f477b
-			if test "$(SHLIB_SUFFIX)" = .dll; then \
aa4aef2
-				$(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBPL) ; \
aa4aef2
-			else \
aa4aef2
-				$(INSTALL_DATA) $(LIBRARY) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \
aa4aef2
-			fi; \
aa4aef2
-		else \
aa4aef2
-			echo Skip install of $(LIBRARY) - use make frameworkinstall; \
aa4aef2
-		fi; \
aa4aef2
-	fi
aa4aef2
 	$(INSTALL_DATA) Modules/config.c $(DESTDIR)$(LIBPL)/config.c
Matej Stuchlik abb2ff8
 	$(INSTALL_DATA) Programs/python.o $(DESTDIR)$(LIBPL)/python.o
aa4aef2
 	$(INSTALL_DATA) $(srcdir)/Modules/config.c.in $(DESTDIR)$(LIBPL)/config.c.in