]> granicus.if.org Git - llvm/commit
[lit] Only set DYLD_LIBRARY_PATH for shared builds
authorJonas Devlieghere <jonas@devlieghere.com>
Fri, 30 Aug 2019 23:16:02 +0000 (23:16 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Fri, 30 Aug 2019 23:16:02 +0000 (23:16 +0000)
commit287c177143541b55b2c6344cce51e3ca7563386a
tree516c68560ff42478f2c00056a097e83c1aefb161
parent07dc5eb5e135911be354cb121fa6bf7bed58e272
[lit] Only set DYLD_LIBRARY_PATH for shared builds

In r370135 I committed a temporary workaround for the sanitized bot to
not set (DY)LD_LIBRARY_PATH when (DY)LD_INSERT_LIBRARIES was set.
Setting (DY)LD_LIBRARY_PATH is only necessary for (standalone)
shared-library builds, so a better solution is to only set the
environment variable when necessary.

Differential revision: https://reviews.llvm.org/D67012

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370549 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/LLVMConfig.cmake.in