|
|
036b9c |
diff --git a/Makefile.pre.in b/Makefile.pre.in
|
|
|
036b9c |
index 9cd482f..b074b26 100644
|
|
|
036b9c |
--- a/Makefile.pre.in
|
|
|
036b9c |
+++ b/Makefile.pre.in
|
|
|
036b9c |
@@ -549,7 +549,7 @@ clinic: check-clean-src $(srcdir)/Modules/_blake2/blake2s_impl.c
|
|
|
036b9c |
$(PYTHON_FOR_REGEN) ./Tools/clinic/clinic.py --make
|
|
|
036b9c |
|
|
|
036b9c |
# Build the interpreter
|
|
|
036b9c |
-$(BUILDPYTHON): Programs/python.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY)
|
|
|
036b9c |
+$(BUILDPYTHON): Programs/python.o $(LDLIBRARY) $(PY3LIBRARY)
|
|
|
036b9c |
$(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/python.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
|
|
|
036b9c |
|
|
|
036b9c |
platform: $(BUILDPYTHON) pybuilddir.txt
|
|
|
036b9c |
@@ -597,12 +597,6 @@ sharedmods: $(BUILDPYTHON) pybuilddir.txt Modules/_math.o
|
|
|
036b9c |
_TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \
|
|
|
036b9c |
$(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build
|
|
|
036b9c |
|
|
|
036b9c |
-
|
|
|
036b9c |
-# Build static library
|
|
|
036b9c |
-$(LIBRARY): $(LIBRARY_OBJS)
|
|
|
036b9c |
- -rm -f $@
|
|
|
036b9c |
- $(AR) $(ARFLAGS) $@ $(LIBRARY_OBJS)
|
|
|
036b9c |
-
|
|
|
036b9c |
libpython$(LDVERSION).so: $(LIBRARY_OBJS)
|
|
|
036b9c |
if test $(INSTSONAME) != $(LDLIBRARY); then \
|
|
|
036b9c |
$(BLDSHARED) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
|
|
|
036b9c |
@@ -692,7 +686,7 @@ Modules/Setup: $(srcdir)/Modules/Setup.dist
|
|
|
036b9c |
echo "-----------------------------------------------"; \
|
|
|
036b9c |
fi
|
|
|
036b9c |
|
|
|
036b9c |
-Programs/_testembed: Programs/_testembed.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY)
|
|
|
036b9c |
+Programs/_testembed: Programs/_testembed.o $(LDLIBRARY) $(PY3LIBRARY)
|
|
|
036b9c |
$(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/_testembed.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
|
|
|
036b9c |
|
|
|
036b9c |
############################################################################
|
|
|
036b9c |
@@ -1428,17 +1422,6 @@ libainstall: @DEF_MAKE_RULE@ python-config
|
|
|
036b9c |
else true; \
|
|
|
036b9c |
fi; \
|
|
|
036b9c |
done
|
|
|
036b9c |
- @if test -d $(LIBRARY); then :; else \
|
|
|
036b9c |
- if test "$(PYTHONFRAMEWORKDIR)" = no-framework; then \
|
|
|
036b9c |
- if test "$(SHLIB_SUFFIX)" = .dll; then \
|
|
|
036b9c |
- $(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBPL) ; \
|
|
|
036b9c |
- else \
|
|
|
036b9c |
- $(INSTALL_DATA) $(LIBRARY) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \
|
|
|
036b9c |
- fi; \
|
|
|
036b9c |
- else \
|
|
|
036b9c |
- echo Skip install of $(LIBRARY) - use make frameworkinstall; \
|
|
|
036b9c |
- fi; \
|
|
|
036b9c |
- fi
|
|
|
036b9c |
$(INSTALL_DATA) Modules/config.c $(DESTDIR)$(LIBPL)/config.c
|
|
|
036b9c |
$(INSTALL_DATA) Programs/python.o $(DESTDIR)$(LIBPL)/python.o
|
|
|
036b9c |
$(INSTALL_DATA) $(srcdir)/Modules/config.c.in $(DESTDIR)$(LIBPL)/config.c.in
|