2019-01-14 05:30:43 +01:00
|
|
|
--- ./Makefile.pre.in.orig 2019-01-13 13:06:37.518767495 -0600
|
|
|
|
+++ ./Makefile.pre.in 2019-01-13 13:28:41.778781670 -0600
|
|
|
|
@@ -549,7 +549,7 @@
|
|
|
|
$(PYTHON_FOR_REGEN) ./Tools/clinic/clinic.py --make
|
2018-05-28 21:12:29 +02:00
|
|
|
|
|
|
|
# Build the interpreter
|
|
|
|
-$(BUILDPYTHON): Programs/python.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY)
|
|
|
|
+$(BUILDPYTHON): Programs/python.o $(LDLIBRARY) $(PY3LIBRARY)
|
2019-01-14 05:30:43 +01:00
|
|
|
$(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/python.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
|
2018-05-28 21:12:29 +02:00
|
|
|
|
|
|
|
platform: $(BUILDPYTHON) pybuilddir.txt
|
2019-01-14 05:30:43 +01:00
|
|
|
@@ -598,11 +598,6 @@
|
2018-05-28 21:12:29 +02:00
|
|
|
$(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build
|
|
|
|
|
|
|
|
|
|
|
|
-# Build static library
|
|
|
|
-$(LIBRARY): $(LIBRARY_OBJS)
|
|
|
|
- -rm -f $@
|
2019-01-14 05:30:43 +01:00
|
|
|
- $(AR) $(ARFLAGS) $@ $(LIBRARY_OBJS)
|
2018-05-28 21:12:29 +02:00
|
|
|
-
|
|
|
|
libpython$(LDVERSION).so: $(LIBRARY_OBJS)
|
|
|
|
if test $(INSTSONAME) != $(LDLIBRARY); then \
|
|
|
|
$(BLDSHARED) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
|
2019-01-14 05:30:43 +01:00
|
|
|
@@ -692,7 +687,7 @@
|
2018-05-28 21:12:29 +02:00
|
|
|
echo "-----------------------------------------------"; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
-Programs/_testembed: Programs/_testembed.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY)
|
|
|
|
+Programs/_testembed: Programs/_testembed.o $(LDLIBRARY) $(PY3LIBRARY)
|
2019-01-14 05:30:43 +01:00
|
|
|
$(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/_testembed.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
|
2018-05-28 21:12:29 +02:00
|
|
|
|
|
|
|
############################################################################
|
2019-01-14 05:30:43 +01:00
|
|
|
@@ -1428,17 +1423,6 @@
|
2018-05-28 21:12:29 +02:00
|
|
|
else true; \
|
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
- @if test -d $(LIBRARY); then :; else \
|
|
|
|
- if test "$(PYTHONFRAMEWORKDIR)" = no-framework; then \
|
|
|
|
- if test "$(SHLIB_SUFFIX)" = .dll; then \
|
|
|
|
- $(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBPL) ; \
|
|
|
|
- else \
|
|
|
|
- $(INSTALL_DATA) $(LIBRARY) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \
|
|
|
|
- fi; \
|
|
|
|
- else \
|
|
|
|
- echo Skip install of $(LIBRARY) - use make frameworkinstall; \
|
|
|
|
- fi; \
|
|
|
|
- fi
|
|
|
|
$(INSTALL_DATA) Modules/config.c $(DESTDIR)$(LIBPL)/config.c
|
|
|
|
$(INSTALL_DATA) Programs/python.o $(DESTDIR)$(LIBPL)/python.o
|
|
|
|
$(INSTALL_DATA) $(srcdir)/Modules/config.c.in $(DESTDIR)$(LIBPL)/config.c.in
|