libselinux: adjust build of Python bindings
authorMatt Weber <matthew.weber@rockwellcollins.com>
Thu, 13 Apr 2017 04:16:12 +0000 (23:16 -0500)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 13 Apr 2017 20:18:12 +0000 (22:18 +0200)
commitc160a3ca4c9677f67f85acb33634421673836c93
tree0d56f9526ac6fdbb35274d63dfff0c89cd7c1a51
parent710a47d3227f00461b63a2add08b2171f7b34369
libselinux: adjust build of Python bindings

In order to work-around dependency issues, the Python bindings should be
built though a separate make invocation from the rest of the
library. This avoids build issues like this:

selinux_restorecon.lo: file not recognized: File truncated
[...]
collect2: error: ld returned 1 exit status
make[2]: *** [libselinux.so.1] Error 1

Fixes:

  http://autobuild.buildroot.net/results/967b74d0ae5b4b83ea2729217b005a3e1e4514d0/

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
[Thomas: improve commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libselinux/libselinux.mk