patches/dmalloc/5.5.2/300-shared_library.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jul 14 21:57:57 2008 +0000 (2008-07-14)
changeset 669 ca740b4c4262
permissions -rw-r--r--
Use CT_DoExecLog when building tools and debug utilities.

/trunk/scripts/build/tools/200-sstrip.sh | 12 6 6 0 ++++++------
/trunk/scripts/build/debug/100-dmalloc.sh | 10 5 5 0 +++++-----
/trunk/scripts/build/debug/400-ltrace.sh | 5 3 2 0 +++--
/trunk/scripts/build/debug/300-gdb.sh | 30 17 13 0 +++++++++++++++++-------------
/trunk/scripts/build/debug/500-strace.sh | 7 4 3 0 ++++---
/trunk/scripts/build/debug/200-duma.sh | 5 3 2 0 +++--
6 files changed, 38 insertions(+), 31 deletions(-)
     1 This patch makes building the shared library possible.
     2 
     3 Copyright 2007 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
     4 Licensed to you as dmalloc-5.5.2 is.
     5 
     6 diff -dur dmalloc-5.5.2.orig/Makefile.in dmalloc-5.5.2/Makefile.in
     7 --- dmalloc-5.5.2.orig/Makefile.in	2007-05-14 19:26:14.000000000 +0200
     8 +++ dmalloc-5.5.2/Makefile.in	2007-05-18 15:54:04.000000000 +0200
     9 @@ -257,7 +257,7 @@
    10  # via: http://256.com/gray/email.html
    11  $(LIB_SL) : $(LIBRARY)
    12  	rm -f $@ $@.t
    13 -	@shlinkargs@ $(LIBRARY) $(OBJS) $(NORMAL_OBJS)
    14 +	@shlinkargs@ $(LIBRARY)
    15  	mv $@.t $@
    16  
    17  $(LIBRARY) : $(OBJS) $(NORMAL_OBJS)
    18 @@ -270,7 +270,7 @@
    19  
    20  $(LIB_TH_SL) : $(LIB_TH)
    21  	rm -f $@ $@.t
    22 -	@shlinkargs@ $(LIB_TH) $(OBJS) $(THREAD_OBJS)
    23 +	@shlinkargs@ $(LIB_TH)
    24  	mv $@.t $@
    25  
    26  $(LIB_CXX) : $(OBJS) $(NORMAL_OBJS) $(CXX_OBJS)
    27 @@ -279,7 +279,7 @@
    28  
    29  $(LIB_CXX_SL) : $(LIB_CXX)
    30  	rm -f $@ $@.t
    31 -	@shlinkargs@ $(LIB_CXX) $(OBJS) $(NORMAL_OBJS) $(CXX_OBJS)
    32 +	@shlinkargs@ $(LIB_CXX)
    33  	mv $@.t $@
    34  
    35  $(LIB_TH_CXX) : $(OBJS) $(THREAD_OBJS) $(CXX_OBJS)
    36 @@ -288,7 +288,7 @@
    37  
    38  $(LIB_TH_CXX_SL) : $(LIB_TH_CXX)
    39  	rm -f $@ $@.t
    40 -	@shlinkargs@ $(LIB_TH_CXX) $(OBJS) $(THREAD_OBJS) $(CXX_OBJS)
    41 +	@shlinkargs@ $(LIB_TH_CXX)
    42  	mv $@.t $@
    43  
    44  threadssl : $(LIB_TH_SL)