Patch for xtrace and memusage

Andreas Jaeger aj@suse.de
Sun Apr 1 03:28:00 GMT 2001


xtrace didn't work for me when configured with --prefix=/usr, we
should use SLIBDIR instead.

Ok to commit?

Andreas

2001-04-01  Andreas Jaeger  <aj@suse.de>

	* debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
	is installed there.
	* malloc/memusage.sh (memusageso): Likewise for libmemusage.so.

============================================================
Index: debug/xtrace.sh
--- debug/xtrace.sh	2001/01/05 00:57:24	1.4
+++ debug/xtrace.sh	2001/04/01 10:12:30
@@ -18,7 +18,7 @@
 # write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 # Boston, MA 02111-1307, USA.
 
-pcprofileso=@LIBDIR@/libpcprofile.so
+pcprofileso=@SLIBDIR@/libpcprofile.so
 pcprofiledump=@BINDIR@/pcprofiledump
 
 # Print usage message.
============================================================
Index: malloc/memusage.sh
--- malloc/memusage.sh	2001/01/05 00:57:52	1.2
+++ malloc/memusage.sh	2001/04/01 10:12:30
@@ -18,7 +18,7 @@
 # write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 # Boston, MA 02111-1307, USA.
 
-memusageso=@LIBDIR@/libmemusage.so
+memusageso=@SLIBDIR@/libmemusage.so
 memusagestat=@BINDIR@/memusagestat
 
 # Print usage message.

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Libc-hacker mailing list