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