2017-03-12 01:00:08 +01:00
|
|
|
diff -uar Python-3.6.0.orig/Makefile.pre.in Python-3.6.0/Makefile.pre.in
|
|
|
|
--- Python-3.6.0.orig/Makefile.pre.in 2016-12-23 04:21:21.000000000 +0200
|
|
|
|
+++ Python-3.6.0/Makefile.pre.in 2016-12-27 22:50:14.139741226 +0200
|
2016-05-25 03:26:25 +02:00
|
|
|
@@ -564,7 +564,7 @@
|
|
|
|
$(RUNSHARED) $(PYTHON_FOR_BUILD) ./Tools/clinic/clinic.py --make
|
|
|
|
|
|
|
|
# Build the interpreter
|
|
|
|
-$(BUILDPYTHON): Programs/python.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY)
|
|
|
|
+$(BUILDPYTHON): Programs/python.o $(LDLIBRARY) $(PY3LIBRARY)
|
|
|
|
$(LINKCC) $(PY_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/python.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
|
|
|
|
|
|
|
|
platform: $(BUILDPYTHON) pybuilddir.txt
|
2017-03-12 01:00:08 +01:00
|
|
|
@@ -609,18 +609,6 @@
|
2016-05-25 03:26:25 +02:00
|
|
|
$(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build
|
|
|
|
|
2017-03-12 01:00:08 +01:00
|
|
|
|
2016-05-25 03:26:25 +02:00
|
|
|
-# Build static library
|
|
|
|
-# avoid long command lines, same as LIBRARY_OBJS
|
|
|
|
-$(LIBRARY): $(LIBRARY_OBJS)
|
|
|
|
- -rm -f $@
|
|
|
|
- $(AR) $(ARFLAGS) $@ Modules/getbuildinfo.o
|
|
|
|
- $(AR) $(ARFLAGS) $@ $(PARSER_OBJS)
|
|
|
|
- $(AR) $(ARFLAGS) $@ $(OBJECT_OBJS)
|
|
|
|
- $(AR) $(ARFLAGS) $@ $(PYTHON_OBJS) Python/frozen.o
|
2017-03-12 01:00:08 +01:00
|
|
|
- $(AR) $(ARFLAGS) $@ $(MODULE_OBJS)
|
2016-05-25 03:26:25 +02:00
|
|
|
- $(AR) $(ARFLAGS) $@ $(MODOBJS)
|
|
|
|
- $(RANLIB) $@
|
|
|
|
-
|
|
|
|
libpython$(LDVERSION).so: $(LIBRARY_OBJS)
|
|
|
|
if test $(INSTSONAME) != $(LDLIBRARY); then \
|
|
|
|
$(BLDSHARED) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
|
2017-03-12 01:00:08 +01:00
|
|
|
@@ -710,7 +698,7 @@
|
2016-05-25 03:26:25 +02:00
|
|
|
echo "-----------------------------------------------"; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
-Programs/_testembed: Programs/_testembed.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY)
|
|
|
|
+Programs/_testembed: Programs/_testembed.o $(LDLIBRARY) $(PY3LIBRARY)
|
|
|
|
$(LINKCC) $(PY_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/_testembed.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
|
|
|
|
|
|
|
|
############################################################################
|
2017-03-12 01:00:08 +01:00
|
|
|
@@ -1388,18 +1376,6 @@
|
2016-05-25 03:26:25 +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) ; \
|
|
|
|
- $(RANLIB) $(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
|