[m-rev.] diff: fix bug #176

Julien Fischer juliensf at csse.unimelb.edu.au
Mon Dec 20 15:58:56 AEDT 2010


Branches: main, 11.01

Fix bug #176: Mercury libraries built with mmake on Mac OS X were
being built with incorrect install names.

compiler/file_util.m:
 	Don't escape special characters in the shared library name
 	part of the install name when generating the rule to invoke the
 	ml script in a .dep file.

Julien.

Index: compiler/file_util.m
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/compiler/file_util.m,v
retrieving revision 1.4
diff -u -r1.4 file_util.m
--- compiler/file_util.m	14 Oct 2009 05:28:32 -0000	1.4
+++ compiler/file_util.m	20 Dec 2010 04:49:44 -0000
@@ -266,7 +266,7 @@
          InstallNamePath = InstallNamePath0
      ),
      InstallNameOpt = InstallNameFlag ++
-        quote_arg(InstallNamePath / OutputFileName).
+        quote_arg(InstallNamePath) / OutputFileName.

  %-----------------------------------------------------------------------------%


--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list