diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2019-12-27 10:43:27 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2019-12-30 23:10:43 -0500 |
commit | 6e18bc43d259c3322d76ef995655dc539a5eb5c2 (patch) | |
tree | 1dc0ade39ece896dae989c63f868c3588cb26746 /dynamic-layers/python2-layer/recipes-devtools/python/files | |
parent | 8ce3dccfda031a0a62d4e77da821436d23b09273 (diff) | |
download | meta-selinux-6e18bc43d259c3322d76ef995655dc539a5eb5c2.tar.gz |
audit: fix host contamination for swig
The audit build uses swig to generate a python wrapper. But there is a
hardcoded include directory in auditswig.i, which causes header files on
the host to be used when building. This will cause build error on some
old systems. e.g. on CentOS7 with buildtools:
audit_wrap.c: In function '_wrap_audit_rule_flags_set':
audit_wrap.c:5018:19: error: dereferencing pointer to incomplete type 'struct audit_rule'
5018 if (arg1) (arg1)->flags = arg2;
^~
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'dynamic-layers/python2-layer/recipes-devtools/python/files')
0 files changed, 0 insertions, 0 deletions