MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« LibSecComp 64-bit HOME Mozilla NSPR 64-bit »

LibSecComp 32-bit

Name: LibSecComp 32-bit
Summary: A platform independent interface to the Linux syscall filtering mechanism
License: LGPL v2.1 or later
Version: 2.6.0
URL: https://github.com/seccomp/libseccomp/releases/download/v2.6.0/libseccomp-2.6.0.tar.gz

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

Configuration

To configure LibSecComp 32-bit for install into the build root, run the following command:

rm -rf DESTDIR
make distclean
./configure --prefix=/usr                               \
            --libdir=/usr/lib                           \
            --libexecdir=/usr/lib                       \
            --docdir=/usr/share/doc/libseccomp-2.6.0    \
            --sysconfdir=/etc                           \
            --disable-static                            \
            --disable-python                            \
            --enable-pic                                \
            --enable-shared

Compilation and Installation

To compile LibSecComp 32-bit, run the following command:

make

Finally, to install LibSecComp 32-bit into the build tree, run the following command:

make DESTDIR=$PWD/DESTDIR install
rm -fv DESTDIR/usr/lib/*.a
cp -Rv DESTDIR/usr/lib/* /usr/lib/

Contents

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

Navigation    
« LibSecComp 64-bit HOME Mozilla NSPR 64-bit »