diff options
| author | Andrei Gherzan <andrei@gherzan.ro> | 2012-04-11 12:55:22 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-11 12:57:17 +0100 |
| commit | 00a6199b9288d2c1fec7cef4c13a820a1976c1d6 (patch) | |
| tree | 0a09b5e334339463f14c08d28ee1d80c3523c0a0 /scripts/qemuimage-tests/tools/compiler_test.sh | |
| parent | f03d66bcc1fde80fd8923a400d2f2edfee576068 (diff) | |
| download | poky-00a6199b9288d2c1fec7cef4c13a820a1976c1d6.tar.gz | |
"The suite of statements in a function definition executes with a local namespace that is different from the global namespace. This means that all variables created within a function are local to that function. When the suite finishes, these working variables are discarded."
In this way the needs_ldconfig variable in linux_so never gets True in the statements
below this function. As global statement is generally discouraged, a return value
would be a clean and fast way to solve this issue.
[YOCTO #2205]
RP: Added logic to ensure the value doesn't get overwritten once set
(From OE-Core rev: 6d39af4f85220f20bad09b0fdd3ee0a7ec19c12d)
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>---
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/qemuimage-tests/tools/compiler_test.sh')
0 files changed, 0 insertions, 0 deletions
