components/python/python34/patches/12-py_db.patch
changeset 2183 5d00686e81da
parent 2060 a9ad5cd0ec29
child 2213 b87f3edd5dd7
equal deleted inserted replaced
2182:9f1202f3ddbd 2183:5d00686e81da
     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.0/Makefile.pre.in.~3~	2014-03-19 10:48:24.881429192 -0700
     4 --- Python-3.4.2/Makefile.pre.in.~3~	2014-09-22 14:16:07.846210795 -0700
     5 +++ Python-3.4.0/Makefile.pre.in	2014-03-19 10:48:25.069002130 -0700
     5 +++ Python-3.4.2/Makefile.pre.in	2014-09-22 14:16:07.961725537 -0700
     6 @@ -466,7 +466,7 @@
     6 @@ -471,7 +471,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 @@ -658,6 +658,19 @@
    15 @@ -673,6 +673,19 @@
    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 +
    30 +	$(INSTALL_SHARED) libpython$(LDVERSION)_db.so.1.0 $(DESTDIR)$(LIBDIR)
    30 +	$(INSTALL_SHARED) libpython$(LDVERSION)_db.so.1.0 $(DESTDIR)$(LIBDIR)
    31 +	$(INSTALL_PROGRAM) check_offset $(DESTDIR)$(BINDIR)
    31 +	$(INSTALL_PROGRAM) check_offset $(DESTDIR)$(BINDIR)
    32  
    32  
    33  Modules/Setup: $(srcdir)/Modules/Setup.dist
    33  Modules/Setup: $(srcdir)/Modules/Setup.dist
    34  	@if test -f Modules/Setup; then \
    34  	@if test -f Modules/Setup; then \
    35 @@ -1027,7 +1040,7 @@
    35 @@ -1042,7 +1055,7 @@
    36  		$(TESTRUNNER) $(QUICKTESTOPTS)
    36  		$(TESTRUNNER) $(QUICKTESTOPTS)
    37  
    37  
    38  
    38  
    39 -install: @FRAMEWORKINSTALLFIRST@ commoninstall bininstall maninstall @FRAMEWORKINSTALLLAST@
    39 -install: @FRAMEWORKINSTALLFIRST@ commoninstall bininstall maninstall @FRAMEWORKINSTALLLAST@
    40 +install: @FRAMEWORKINSTALLFIRST@ commoninstall bininstall maninstall install-py_db @FRAMEWORKINSTALLLAST@
    40 +install: @FRAMEWORKINSTALLFIRST@ commoninstall bininstall maninstall install-py_db @FRAMEWORKINSTALLLAST@