You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
2.0 KiB
50 lines
2.0 KiB
diff -up Python-2.7.3/Makefile.pre.in.no-static-lib Python-2.7.3/Makefile.pre.in |
|
--- Python-2.7.3/Makefile.pre.in.no-static-lib 2013-02-19 14:03:40.801993224 -0500 |
|
+++ Python-2.7.3/Makefile.pre.in 2013-02-19 14:04:44.070988898 -0500 |
|
@@ -397,7 +397,7 @@ coverage: |
|
|
|
|
|
# Build the interpreter |
|
-$(BUILDPYTHON): Modules/python.o $(LIBRARY) $(LDLIBRARY) |
|
+$(BUILDPYTHON): Modules/python.o $(LDLIBRARY) |
|
$(LINKCC) $(CFLAGS) $(LDFLAGS) $(LINKFORSHARED) -o $@ \ |
|
Modules/python.o \ |
|
$(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST) |
|
@@ -413,18 +413,6 @@ sharedmods: $(BUILDPYTHON) |
|
$(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \ |
|
$(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build |
|
|
|
-# 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) |
|
- $(AR) $(ARFLAGS) $@ $(MODULE_OBJS) $(SIGNAL_OBJS) |
|
- $(AR) $(ARFLAGS) $@ $(MODOBJS) |
|
- $(RANLIB) $@ |
|
- |
|
libpython$(VERSION).so: $(LIBRARY_OBJS) |
|
if test $(INSTSONAME) != $(LDLIBRARY); then \ |
|
$(BLDSHARED) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \ |
|
@@ -1021,18 +1009,6 @@ libainstall: all python-config |
|
else true; \ |
|
fi; \ |
|
done |
|
- @if test -d $(LIBRARY); then :; else \ |
|
- if test "$(PYTHONFRAMEWORKDIR)" = no-framework; then \ |
|
- if test "$(SO)" = .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) Modules/python.o $(DESTDIR)$(LIBPL)/python.o |
|
$(INSTALL_DATA) $(srcdir)/Modules/config.c.in $(DESTDIR)$(LIBPL)/config.c.in
|
|
|