diff options
-rw-r--r-- | meta/classes/toolchain-scripts.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index db1d3215ef..9aa31dc6cd 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass | |||
@@ -29,7 +29,7 @@ toolchain_create_sdk_env_script () { | |||
29 | echo '# http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html#AEN80' >> $script | 29 | echo '# http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html#AEN80' >> $script |
30 | echo '# http://xahlee.info/UnixResource_dir/_/ldpath.html' >> $script | 30 | echo '# http://xahlee.info/UnixResource_dir/_/ldpath.html' >> $script |
31 | echo '# Only disable this check if you are absolutely know what you are doing!' >> $script | 31 | echo '# Only disable this check if you are absolutely know what you are doing!' >> $script |
32 | echo 'if [ ! -z "$LD_LIBRARY_PATH" ]; then' >> $script | 32 | echo 'if [ ! -z "${LD_LIBRARY_PATH:-}" ]; then' >> $script |
33 | echo " echo \"Your environment is misconfigured, you probably need to 'unset LD_LIBRARY_PATH'\"" >> $script | 33 | echo " echo \"Your environment is misconfigured, you probably need to 'unset LD_LIBRARY_PATH'\"" >> $script |
34 | echo " echo \"but please check why this was set in the first place and that it's safe to unset.\"" >> $script | 34 | echo " echo \"but please check why this was set in the first place and that it's safe to unset.\"" >> $script |
35 | echo ' echo "The SDK will not operate correctly in most cases when LD_LIBRARY_PATH is set."' >> $script | 35 | echo ' echo "The SDK will not operate correctly in most cases when LD_LIBRARY_PATH is set."' >> $script |