audit: disable python3 support
authorRyan Barnett <ryan.barnett@rockwellcollins.com>
Wed, 22 Jul 2015 21:06:40 +0000 (16:06 -0500)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 22 Jul 2015 21:21:32 +0000 (23:21 +0200)
commit5a8951273a567a6bdf11f77ba40f99acf28d3bfa
tree6eb76dd031787fd0beaaf892225c9e0844715356
parent0fe633cdff66febadc50bab3e0af4b3be53811c8
audit: disable python3 support

With the version bump to 2.4.3, python3 support was added for
libaudit. With host machines that have python3 installed, this will
cause build issues such as:

  make[5]: Entering directory `/tmp/ryan/buildroot/output/build/audit-2.4.3/bindings/swig/python3'
  swig -o audit_wrap.c -python -py3 -modern -I. -I../../.. -I../../../lib -I/usr/include/python3.4m -I/usr/include/python3.4m ./../src/auditswig.i
  make[5]: swig: Command not found

Solution is to disable python3 support such as we do with python2.7.

Signed-off-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/audit/audit.mk