[m-rev.] diff: fix `ml --static --trace' libmer_mdbcomp bug

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Nov 3 00:38:22 AEDT 2003


Estimated hours taken: 0.25
Branches: main

scripts/ml.in:
	Fix a bug in Zoltan's previous change to add the mdbcomp library:
	mdbcomp was missing from the list of libraries to link with when
	when tracing and static linking are both enabled.

Workspace: /home/ceres/fjh/mercury
Index: scripts/ml.in
===================================================================
RCS file: /home/mercury1/repository/mercury/scripts/ml.in,v
retrieving revision 1.106
diff -u -d -r1.106 ml.in
--- scripts/ml.in	27 Oct 2003 06:00:41 -0000	1.106
+++ scripts/ml.in	2 Nov 2003 13:35:24 -0000
@@ -217,9 +217,11 @@
 		TRACE_LIBS_SYSTEM="$TRACE_LIBS_SYSTEM $READLINE_LIBRARIES"
 		TRACE_STATIC_LIBS="\
 		  `$FIX_PATH_FOR_LINKER \
-		    $LIBDIR/$GRADE/$FULLARCH/lib$TRACE_LIB_NAME. at LIB_SUFFIX@` \
+		   $LIBDIR/$GRADE/$FULLARCH/lib$TRACE_LIB_NAME. at LIB_SUFFIX@` \
 		  `$FIX_PATH_FOR_LINKER \
-		    $LIBDIR/$GRADE/$FULLARCH/lib$BROWSER_LIB_NAME. at LIB_SUFFIX@`"
+		   $LIBDIR/$GRADE/$FULLARCH/lib$BROWSER_LIB_NAME. at LIB_SUFFIX@` \
+		  `$FIX_PATH_FOR_LINKER \
+		   $LIBDIR/$GRADE/$FULLARCH/lib$MDBCOMP_LIB_NAME. at LIB_SUFFIX@`"
 		;;
 	false)	TRACE_LIBS=
 		TRACE_LIBS_SYSTEM=

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list