[Lldb-commits] [lldb] r187431 - Use -Wl to specify -rpath correctly.

Stefanus Du Toit stefanus.du.toit at intel.com
Tue Jul 30 12:19:49 PDT 2013


Author: sdt
Date: Tue Jul 30 14:19:49 2013
New Revision: 187431

URL: http://llvm.org/viewvc/llvm-project?rev=187431&view=rev
Log:
Use -Wl to specify -rpath correctly.

Modified:
    lldb/trunk/test/lldbtest.py

Modified: lldb/trunk/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbtest.py?rev=187431&r1=187430&r2=187431&view=diff
==============================================================================
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Tue Jul 30 14:19:49 2013
@@ -1318,7 +1318,7 @@ class Base(unittest2.TestCase):
                  'EXE' : exe_name,
                  'CFLAGS_EXTRAS' : "%s -stdlib=libc++" % stdflag,
                  'FRAMEWORK_INCLUDES' : "-F%s" % self.lib_dir,
-                 'LD_EXTRAS' : "%s -rpath %s" % (dsym, self.lib_dir),
+                 'LD_EXTRAS' : "%s -Wl,-rpath,%s" % (dsym, self.lib_dir),
                 }
         elif sys.platform.startswith('freebsd') or sys.platform.startswith("linux") or os.environ.get('LLDB_BUILD_TYPE') == 'Makefile':
             d = {'CXX_SOURCES' : sources, 





More information about the lldb-commits mailing list