An interpreted, interactive, object-oriented programming language
CentOS Sources
2017-08-01 71084d584ff953f5463757ec6536406320560b4d
commit | author | age
6e8c2f 1 diff -up Python-2.7.3/Makefile.pre.in.no-static-lib Python-2.7.3/Makefile.pre.in
CB 2 --- Python-2.7.3/Makefile.pre.in.no-static-lib    2013-02-19 14:03:40.801993224 -0500
3 +++ Python-2.7.3/Makefile.pre.in    2013-02-19 14:04:44.070988898 -0500
4 @@ -397,7 +397,7 @@ coverage:
5  
6  
7  # Build the interpreter
8 -$(BUILDPYTHON):    Modules/python.o $(LIBRARY) $(LDLIBRARY)
9 +$(BUILDPYTHON):    Modules/python.o $(LDLIBRARY)
10          $(LINKCC) $(CFLAGS) $(LDFLAGS) $(LINKFORSHARED) -o $@ \
11              Modules/python.o \
12              $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
13 @@ -413,18 +413,6 @@ sharedmods: $(BUILDPYTHON)
14      $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \
15          $(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build
16  
17 -# Build static library
18 -# avoid long command lines, same as LIBRARY_OBJS
19 -$(LIBRARY): $(LIBRARY_OBJS)
20 -    -rm -f $@
21 -    $(AR) $(ARFLAGS) $@ Modules/getbuildinfo.o
22 -    $(AR) $(ARFLAGS) $@ $(PARSER_OBJS)
23 -    $(AR) $(ARFLAGS) $@ $(OBJECT_OBJS)
24 -    $(AR) $(ARFLAGS) $@ $(PYTHON_OBJS)
25 -    $(AR) $(ARFLAGS) $@ $(MODULE_OBJS) $(SIGNAL_OBJS)
26 -    $(AR) $(ARFLAGS) $@ $(MODOBJS)
27 -    $(RANLIB) $@
28 -
29  libpython$(VERSION).so: $(LIBRARY_OBJS)
30      if test $(INSTSONAME) != $(LDLIBRARY); then \
31          $(BLDSHARED) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
32 @@ -1021,18 +1009,6 @@ libainstall:    all python-config
33          else    true; \
34          fi; \
35      done
36 -    @if test -d $(LIBRARY); then :; else \
37 -        if test "$(PYTHONFRAMEWORKDIR)" = no-framework; then \
38 -            if test "$(SO)" = .dll; then \
39 -                $(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBPL) ; \
40 -            else \
41 -                $(INSTALL_DATA) $(LIBRARY) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \
42 -                $(RANLIB) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \
43 -            fi; \
44 -        else \
45 -            echo Skip install of $(LIBRARY) - use make frameworkinstall; \
46 -        fi; \
47 -    fi
48      $(INSTALL_DATA) Modules/config.c $(DESTDIR)$(LIBPL)/config.c
49      $(INSTALL_DATA) Modules/python.o $(DESTDIR)$(LIBPL)/python.o
50      $(INSTALL_DATA) $(srcdir)/Modules/config.c.in $(DESTDIR)$(LIBPL)/config.c.in