mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-18 04:04:34 +00:00
e4d693ae87
This fixes the build with "make PYTHON=python2" on systems where python is python3. For PYLIBVER and PYTHONLIBDIR definitions, I tested Python 2.5, 2.6, 2.7, 3.3 and 3.4. For each of them, these commands print the expected result: python -c 'import sys;print("python%d.%d" % sys.version_info[0:2])'" python -c "from distutils.sysconfig import *;print(get_python_lib(1))" Acked-by: Steve Lawrence <slawrence@tresys.com> |
||
---|---|---|
checkpolicy | ||
libselinux | ||
libsemanage | ||
libsepol | ||
policycoreutils | ||
scripts | ||
sepolgen | ||
.gitignore | ||
Makefile | ||
README |
To build and install everything under a private directory, run: make DESTDIR=~/obj install install-pywrap To install as the default system libraries and binaries (overwriting any previously installed ones - dangerous!), on x86_64, run: make LIBDIR=/usr/lib64 SHLIBDIR=/lib64 install install-pywrap relabel or on x86 (32-bit), run: make install install-pywrap relabel This may render your system unusable if the upstream SELinux userspace lacks library functions or other dependencies relied upon by your distribution. If it breaks, you get to keep both pieces.