|
|
1fe57a |
diff -up Python-2.7.6/Makefile.pre.in.no-static-lib Python-2.7.6/Makefile.pre.in
|
|
|
1fe57a |
--- Python-2.7.6/Makefile.pre.in.no-static-lib 2014-01-29 13:58:32.933226720 +0100
|
|
|
1fe57a |
+++ Python-2.7.6/Makefile.pre.in 2014-01-29 14:10:25.002247272 +0100
|
|
|
1fe57a |
@@ -437,7 +437,7 @@ coverage:
|
|
|
1fe57a |
|
|
|
1fe57a |
|
|
|
1fe57a |
# Build the interpreter
|
|
|
1fe57a |
-$(BUILDPYTHON): Modules/python.o $(LIBRARY) $(LDLIBRARY)
|
|
|
1fe57a |
+$(BUILDPYTHON): Modules/python.o $(LDLIBRARY)
|
|
|
1fe57a |
$(LINKCC) $(CFLAGS) $(LDFLAGS) $(LINKFORSHARED) -o $@ \
|
|
|
1fe57a |
Modules/python.o \
|
|
|
1fe57a |
$(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
|
|
|
1fe57a |
@@ -464,18 +464,6 @@ sharedmods: $(BUILDPYTHON) pybuilddir.tx
|
|
|
1fe57a |
_TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \
|
|
|
1fe57a |
$(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build
|
|
|
1fe57a |
|
|
|
1fe57a |
-# Build static library
|
|
|
1fe57a |
-# avoid long command lines, same as LIBRARY_OBJS
|
|
|
1fe57a |
-$(LIBRARY): $(LIBRARY_OBJS)
|
|
|
1fe57a |
- -rm -f $@
|
|
|
1fe57a |
- $(AR) $(ARFLAGS) $@ Modules/getbuildinfo.o
|
|
|
1fe57a |
- $(AR) $(ARFLAGS) $@ $(PARSER_OBJS)
|
|
|
1fe57a |
- $(AR) $(ARFLAGS) $@ $(OBJECT_OBJS)
|
|
|
1fe57a |
- $(AR) $(ARFLAGS) $@ $(PYTHON_OBJS)
|
|
|
1fe57a |
- $(AR) $(ARFLAGS) $@ $(MODULE_OBJS) $(SIGNAL_OBJS)
|
|
|
1fe57a |
- $(AR) $(ARFLAGS) $@ $(MODOBJS)
|
|
|
1fe57a |
- $(RANLIB) $@
|
|
|
1fe57a |
-
|
|
|
1fe57a |
libpython$(VERSION).so: $(LIBRARY_OBJS)
|
|
|
1fe57a |
if test $(INSTSONAME) != $(LDLIBRARY); then \
|
|
|
1fe57a |
$(BLDSHARED) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
|
|
|
1fe57a |
@@ -1097,18 +1085,6 @@ libainstall: all python-config
|
|
|
1fe57a |
else true; \
|
|
|
1fe57a |
fi; \
|
|
|
1fe57a |
done
|
|
|
1fe57a |
- @if test -d $(LIBRARY); then :; else \
|
|
|
1fe57a |
- if test "$(PYTHONFRAMEWORKDIR)" = no-framework; then \
|
|
|
1fe57a |
- if test "$(SO)" = .dll; then \
|
|
|
1fe57a |
- $(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBPL) ; \
|
|
|
1fe57a |
- else \
|
|
|
1fe57a |
- $(INSTALL_DATA) $(LIBRARY) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \
|
|
|
1fe57a |
- $(RANLIB) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \
|
|
|
1fe57a |
- fi; \
|
|
|
1fe57a |
- else \
|
|
|
1fe57a |
- echo Skip install of $(LIBRARY) - use make frameworkinstall; \
|
|
|
1fe57a |
- fi; \
|
|
|
1fe57a |
- fi
|
|
|
1fe57a |
$(INSTALL_DATA) Modules/config.c $(DESTDIR)$(LIBPL)/config.c
|
|
|
1fe57a |
$(INSTALL_DATA) Modules/python.o $(DESTDIR)$(LIBPL)/python.o
|
|
|
1fe57a |
$(INSTALL_DATA) $(srcdir)/Modules/config.c.in $(DESTDIR)$(LIBPL)/config.c.in
|