]> granicus.if.org Git - clang/commit
Preserve LD_LIBRARY_PATH when using the 'env' command
authorHal Finkel <hfinkel@anl.gov>
Wed, 3 Dec 2014 08:19:17 +0000 (08:19 +0000)
committerHal Finkel <hfinkel@anl.gov>
Wed, 3 Dec 2014 08:19:17 +0000 (08:19 +0000)
commit9e06fecc7554f1ea746b0f7efb1f7dc2be35f3e6
treeccd9d1f1dedd4c5c70b79436180d2a747532baab
parent240324b73a1e11a1e24a1451b7c7d3dba5d8a5af
Preserve LD_LIBRARY_PATH when using the 'env' command

In many Linux environments (and similar), just-built applications won't run
correctly without making use of the current LD_LIBRARY_PATH environmental
variable in order to find dynamic libraries. Propagate it through the 'env'
command (hopefully this works on all platforms).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223219 91177308-0d34-0410-b5e6-96231b3b80d8
test/Driver/env.c