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