projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef17c14
)
[tests] Enable use_system_lib support on Linux.
author
Daniel Dunbar
<daniel@zuster.org>
Wed, 6 Feb 2013 17:45:53 +0000
(17:45 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Wed, 6 Feb 2013 17:45:53 +0000
(17:45 +0000)
- Patch by Michael van der Westhuizen.
llvm-svn: 174527
libcxx/test/lit.cfg
patch
|
blob
|
history
diff --git
a/libcxx/test/lit.cfg
b/libcxx/test/lit.cfg
index
d48872c
..
a46e142
100644
(file)
--- a/
libcxx/test/lit.cfg
+++ b/
libcxx/test/lit.cfg
@@
-267,7
+267,8
@@
if sys.platform == 'darwin':
exec_env['DYLD_LIBRARY_PATH'] = os.path.join(libcxx_obj_root, 'lib')
elif sys.platform == 'linux2':
libraries += ['-lsupc++', '-lgcc_eh', '-lc', '-lm', '-lpthread', '-lrt', '-lgcc_s']
- libraries += ['-Wl,-R', libcxx_obj_root + '/lib']
+ if not use_system_lib:
+ libraries += ['-Wl,-R', libcxx_obj_root + '/lib']
else:
lit.fatal("unrecognized system")