MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« LibSEPol 64-bit HOME LibSELinux 64-bit »

LibSEPol 32-bit

Name: LibSEPol 32-bit
Summary: A library for manipulating SELinux binary policies
License: LGPL v2.1
Version: 3.10
URL: https://github.com/SELinuxProject/selinux/releases/download/3.10/libsepol-3.10.tar.gz

Average Build Time: less than 0.1 SBU
Used Install Space: 3.2 MiB

Configuration

This package has no traditional configuration script.

Compilation and Installation

To compile LibSEPol 32-bit, run the following commands:

make clean
CC="gcc -m32 -march=i686" make

Finally, to install LibSEPol 32-bit into the build tree, run the following commands:

PREFIX=/usr LIBDIR=/usr/lib SHLIBDIR=/usr/lib DESTDIR=$PWD/DESTDIR make install
cp -Rv DESTDIR/usr/lib/* /usr/lib/

Other libraries and programs of the suite of tools for SELinux require linking against the static library for LibSEPol, as such it is not removed.

Contents

See the contents section of the 64-bit build of LibSEPol for details.

Navigation    
« LibSEPol 64-bit HOME LibSELinux 64-bit »