libsemanage: Add crossbuild support
|Dimitri John Ledkov|
libsemanage has no cross-build support. It builds for the wrong arch and fails to find libraries in multiarch directories.
This patch makes it use the HOST arch compiler and linker and multiarch libary paths, and also fixes an issue with the package not running make clean properly. I have a separate patch adding build-profile information which cannot be uploaded yet.