Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libselinux: Fix parallel build with swig python
Commit 966855d added selinux.py as a requirement for pywrap. This file is generated during the swig step but there is no explicit rule in the Makefile so parallel build fails. This adds another rule so the ordering is correct. jason@meriadoc ~/code/gentoo/selinux/libselinux $ make -j3 pywrap .... SNIP .... sed -e 's/@Version@/2.4/; s:@Prefix@:/usr:; s:@libdir@:lib:; s:@includedir@:/usr/include:' < libselinux.pc.in > libselinux.pc bash exception.sh > selinuxswig_python_exception.i make[1]: *** No rule to make target 'selinux.py', needed by 'pywrap'. Stop. make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/jason/code/gentoo/selinux/libselinux/src' Makefile:36: recipe for target 'pywrap' failed make: *** [pywrap] Error 2 Signed-off-by: Jason Zaman <[email protected]>
- Loading branch information