diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2015-01-23 06:48:17 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-28 21:23:02 +0000 |
commit | d1ff61a16a3fcfdd7cf882bc89fb1d164cb1603a (patch) | |
tree | 6b8eefe48317fe5e43f8dd45e6131ac9c773b1d2 /meta/classes/python-dir.bbclass | |
parent | 549c9cb6a7b0e989ffcefed8219eedaa6f13c6c8 (diff) | |
download | openembedded-core-d1ff61a16a3fcfdd7cf882bc89fb1d164cb1603a.tar.gz openembedded-core-d1ff61a16a3fcfdd7cf882bc89fb1d164cb1603a.tar.bz2 openembedded-core-d1ff61a16a3fcfdd7cf882bc89fb1d164cb1603a.zip |
binconfig-disabled: try harder to prevent usage of config scripts
Returning a non-zero exit code is not enough to cause errors when configure
scripts call the patched config scripts: for example, swig's configure script
uses PCRE_LIBS=`$PCRE_CONFIG --libs` and does not abort on errors. Using empty
output may then succeed, for example when the required library is available
indirectly.
Returning some nonsense command line arguments covers such cases, because
using them will definitely lead to errors during compilation. The faked
arguments were chosen such that these errors can be linked back to the root
cause.
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/python-dir.bbclass')
0 files changed, 0 insertions, 0 deletions