]> granicus.if.org Git - clang/commit
[test] Extend llvm_shlib_dir fix to unittests
authorMichal Gorny <mgorny@gentoo.org>
Thu, 15 Dec 2016 20:31:08 +0000 (20:31 +0000)
committerMichal Gorny <mgorny@gentoo.org>
Thu, 15 Dec 2016 20:31:08 +0000 (20:31 +0000)
commit5c5a4deee7b1d950d3715d376324669f14508390
treef01a4025817ec485c0e99d57c36f0d7cd61b27b0
parent248229e475bb6620510f6262ebea78c372032ba5
[test] Extend llvm_shlib_dir fix to unittests

Extend the fix from rL286952 to unittests. The fix added clang built
library directories (via llvm_shlib_dir) to LD_LIBRARY_PATH.
The previous logic has used llvm_libs_dir only which points to installed
LLVM when doing stand-alone builds.

The patch also removes the redundant win32 code that is no longer
necessary now that shlibdir is used unconditionally.

Differential Revision: https://reviews.llvm.org/D27812

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@289865 91177308-0d34-0410-b5e6-96231b3b80d8
test/Unit/lit.cfg