components/python/python34/patches/12-py_db.patch
changeset 3869 eb4c6284602f
parent 2213 b87f3edd5dd7
child 4304 b35bb72c479d
equal deleted inserted replaced
3867:e12ff6f7add3 3869:eb4c6284602f
     1 This patch adds Python debugger support.  It may be contributed upstream at
     1 This patch adds Python debugger support.  It may be contributed upstream at
     2 some point, but the suitability (or lack thereof) has not yet been determined.
     2 some point, but the suitability (or lack thereof) has not yet been determined.
     3 
     3 
     4 --- Python-3.4.2/Makefile.pre.in.~3~	2014-09-22 14:16:07.846210795 -0700
     4 --- Python-3.4.3/Makefile.pre.in.~3~	2015-02-25 08:23:53.006331779 -0800
     5 +++ Python-3.4.2/Makefile.pre.in	2014-09-22 14:16:07.961725537 -0700
     5 +++ Python-3.4.3/Makefile.pre.in	2015-02-25 08:23:53.089707662 -0800
     6 @@ -471,7 +471,7 @@
     6 @@ -472,7 +472,7 @@
     7  
     7  
     8  # Default target
     8  # Default target
     9  all:		build_all
     9  all:		build_all
    10 -build_all:	$(BUILDPYTHON) oldsharedmods sharedmods gdbhooks Modules/_testembed python-config
    10 -build_all:	$(BUILDPYTHON) oldsharedmods sharedmods gdbhooks Modules/_testembed python-config
    11 +build_all:	$(BUILDPYTHON) oldsharedmods sharedmods gdbhooks Modules/_testembed python-config build-py_db
    11 +build_all:	$(BUILDPYTHON) oldsharedmods sharedmods gdbhooks Modules/_testembed python-config build-py_db
    12  
    12  
    13  # Compile a binary with gcc profile guided optimization.
    13  # Compile a binary with gcc profile guided optimization.
    14  profile-opt:
    14  profile-opt:
    15 @@ -673,6 +673,15 @@
    15 @@ -674,6 +674,15 @@
    16  	@mv config.c Modules
    16  	@mv config.c Modules
    17  	@echo "The Makefile was updated, you may need to re-run make."
    17  	@echo "The Makefile was updated, you may need to re-run make."
    18  
    18  
    19 +SHLIB_FLAGS = -shared -fpic
    19 +SHLIB_FLAGS = -shared -fpic
    20 +
    20 +
    26 +install-py_db: libpython$(LDVERSION)_db.so.1.0
    26 +install-py_db: libpython$(LDVERSION)_db.so.1.0
    27 +	$(INSTALL_SHARED) libpython$(LDVERSION)_db.so.1.0 $(DESTDIR)$(LIBDIR)
    27 +	$(INSTALL_SHARED) libpython$(LDVERSION)_db.so.1.0 $(DESTDIR)$(LIBDIR)
    28  
    28  
    29  Modules/Setup: $(srcdir)/Modules/Setup.dist
    29  Modules/Setup: $(srcdir)/Modules/Setup.dist
    30  	@if test -f Modules/Setup; then \
    30  	@if test -f Modules/Setup; then \
    31 @@ -1042,7 +1051,7 @@
    31 @@ -1043,7 +1052,7 @@
    32  		$(TESTRUNNER) $(QUICKTESTOPTS)
    32  		$(TESTRUNNER) $(QUICKTESTOPTS)
    33  
    33  
    34  
    34  
    35 -install: @FRAMEWORKINSTALLFIRST@ commoninstall bininstall maninstall @FRAMEWORKINSTALLLAST@
    35 -install: @FRAMEWORKINSTALLFIRST@ commoninstall bininstall maninstall @FRAMEWORKINSTALLLAST@
    36 +install: @FRAMEWORKINSTALLFIRST@ commoninstall bininstall maninstall install-py_db @FRAMEWORKINSTALLLAST@
    36 +install: @FRAMEWORKINSTALLFIRST@ commoninstall bininstall maninstall install-py_db @FRAMEWORKINSTALLLAST@