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