Author: shenruifen
Date: 2012-01-17 00:48:57 -0500 (Tue, 17 Jan 2012)
New Revision: 3858

Modified:
   trunk/osprey/driver/phases.c
Log:
Correct arguments of ipa link when debugging


Modified: trunk/osprey/driver/phases.c
===================================================================
--- trunk/osprey/driver/phases.c        2012-01-13 05:43:31 UTC (rev 3857)
+++ trunk/osprey/driver/phases.c        2012-01-17 05:48:57 UTC (rev 3858)
@@ -3013,9 +3013,11 @@
            }
            // Tell ipa_link about the LD_LIBRARY_PATH that was in effect
            // before the compiler was run.
-           str = "-INTERNAL:old_ld_lib_path=";
-           if (old_ld_library_path)
+           str = "-INTERNAL:old_ld_lib_path=\"";
+           if (old_ld_library_path) {
              str = concat_strings (str, old_ld_library_path);
+           }
+           str = concat_strings (str, "\"");
            add_string(args, str);
 
         char *root_prefix = directory_path(get_executable_dir());


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to