|
|
d71d1f |
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
d71d1f |
From: David Malcolm <dmalcolm@redhat.com>
|
|
|
d71d1f |
Date: Mon, 18 Jan 2010 17:59:07 +0000
|
|
|
d71d1f |
Subject: [PATCH] 00111: Don't try to build a libpythonMAJOR.MINOR.a
|
|
|
d71d1f |
MIME-Version: 1.0
|
|
|
d71d1f |
Content-Type: text/plain; charset=UTF-8
|
|
|
d71d1f |
Content-Transfer-Encoding: 8bit
|
|
|
d71d1f |
|
|
|
d71d1f |
Downstream only: not appropriate for upstream.
|
|
|
d71d1f |
|
|
|
d71d1f |
See https://bugzilla.redhat.com/show_bug.cgi?id=556092
|
|
|
d71d1f |
|
|
|
d71d1f |
Co-authored-by: David Malcolm <dmalcolm@redhat.com>
|
|
|
d71d1f |
Co-authored-by: Bohuslav Kabrda <bkabrda@redhat.com>
|
|
|
d71d1f |
Co-authored-by: Matej Stuchlik <mstuchli@redhat.com>
|
|
|
d71d1f |
Co-authored-by: Robert Kuska <rkuska@redhat.com>
|
|
|
d71d1f |
Co-authored-by: Charalampos Stratakis <cstratak@redhat.com>
|
|
|
d71d1f |
Co-authored-by: Miro HronĨok <miro@hroncok.cz>
|
|
|
d71d1f |
---
|
|
|
d71d1f |
Makefile.pre.in | 21 ++-------------------
|
|
|
d71d1f |
1 file changed, 2 insertions(+), 19 deletions(-)
|
|
|
d71d1f |
|
|
|
d71d1f |
diff --git a/Makefile.pre.in b/Makefile.pre.in
|
|
|
d71d1f |
index 2b68571031..c57fc9693a 100644
|
|
|
d71d1f |
--- a/Makefile.pre.in
|
|
|
d71d1f |
+++ b/Makefile.pre.in
|
|
|
d71d1f |
@@ -589,7 +589,7 @@ clinic: check-clean-src $(srcdir)/Modules/_blake2/blake2s_impl.c
|
|
|
d71d1f |
$(PYTHON_FOR_REGEN) $(srcdir)/Tools/clinic/clinic.py --make --srcdir $(srcdir)
|
|
|
d71d1f |
|
|
|
d71d1f |
# Build the interpreter
|
|
|
d71d1f |
-$(BUILDPYTHON): Programs/python.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY) $(EXPORTSYMS)
|
|
|
d71d1f |
+$(BUILDPYTHON): Programs/python.o $(LDLIBRARY) $(PY3LIBRARY) $(EXPORTSYMS)
|
|
|
d71d1f |
$(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/python.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS)
|
|
|
d71d1f |
|
|
|
d71d1f |
platform: $(BUILDPYTHON) pybuilddir.txt
|
|
|
d71d1f |
@@ -637,12 +637,6 @@ sharedmods: $(BUILDPYTHON) pybuilddir.txt Modules/_math.o
|
|
|
d71d1f |
_TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \
|
|
|
d71d1f |
$(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build
|
|
|
d71d1f |
|
|
|
d71d1f |
-
|
|
|
d71d1f |
-# Build static library
|
|
|
d71d1f |
-$(LIBRARY): $(LIBRARY_OBJS)
|
|
|
d71d1f |
- -rm -f $@
|
|
|
d71d1f |
- $(AR) $(ARFLAGS) $@ $(LIBRARY_OBJS)
|
|
|
d71d1f |
-
|
|
|
d71d1f |
libpython$(LDVERSION).so: $(LIBRARY_OBJS) $(DTRACE_OBJS)
|
|
|
d71d1f |
if test $(INSTSONAME) != $(LDLIBRARY); then \
|
|
|
d71d1f |
$(BLDSHARED) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM); \
|
|
|
d71d1f |
@@ -724,7 +718,7 @@ Makefile Modules/config.c: Makefile.pre \
|
|
|
d71d1f |
@echo "The Makefile was updated, you may need to re-run make."
|
|
|
d71d1f |
|
|
|
d71d1f |
|
|
|
d71d1f |
-Programs/_testembed: Programs/_testembed.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY) $(EXPORTSYMS)
|
|
|
d71d1f |
+Programs/_testembed: Programs/_testembed.o $(LDLIBRARY) $(PY3LIBRARY) $(EXPORTSYMS)
|
|
|
d71d1f |
$(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/_testembed.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS)
|
|
|
d71d1f |
|
|
|
d71d1f |
############################################################################
|
|
|
d71d1f |
@@ -1652,17 +1646,6 @@ libainstall: @DEF_MAKE_RULE@ python-config
|
|
|
d71d1f |
else true; \
|
|
|
d71d1f |
fi; \
|
|
|
d71d1f |
done
|
|
|
d71d1f |
- @if test -d $(LIBRARY); then :; else \
|
|
|
d71d1f |
- if test "$(PYTHONFRAMEWORKDIR)" = no-framework; then \
|
|
|
d71d1f |
- if test "$(SHLIB_SUFFIX)" = .dll; then \
|
|
|
d71d1f |
- $(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBPL) ; \
|
|
|
d71d1f |
- else \
|
|
|
d71d1f |
- $(INSTALL_DATA) $(LIBRARY) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \
|
|
|
d71d1f |
- fi; \
|
|
|
d71d1f |
- else \
|
|
|
d71d1f |
- echo Skip install of $(LIBRARY) - use make frameworkinstall; \
|
|
|
d71d1f |
- fi; \
|
|
|
d71d1f |
- fi
|
|
|
d71d1f |
$(INSTALL_DATA) Modules/config.c $(DESTDIR)$(LIBPL)/config.c
|
|
|
d71d1f |
$(INSTALL_DATA) Programs/python.o $(DESTDIR)$(LIBPL)/python.o
|
|
|
d71d1f |
$(INSTALL_DATA) $(srcdir)/Modules/config.c.in $(DESTDIR)$(LIBPL)/config.c.in
|