audit: Revert the tweak done in configure step in do_install

This tweak is needed for building audit but not the interfaces it may
expose via the headers, therefore undo the tweak before packaging things
up

Reported-By: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2022-08-17 11:03:34 -07:00
parent 2605770745
commit 4ff83dfb5a

View File

@ -78,6 +78,8 @@ do_configure:prepend() {
} }
do_install:append() { do_install:append() {
sed -i -e 's|#include "audit.h"|#include <linux/audit.h>|g' ${D}${includedir}/libaudit.h
rm -f ${D}/${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.a rm -f ${D}/${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.a
rm -f ${D}/${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.la rm -f ${D}/${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.la