Hello,
I have updated the patchset.
We had a problem with overriding LIBDIR.
Please test to compile with:
make DESTDIR=/tmp/myroot PREFIX=/myusr install
or
make DESTDIR=/tmp/myroot install
Thanks to Nicolas and Petr for feedback.
Changes:
v4:
- top Makefile: add LIBDIR to LDFLAGS if DESTDIR is specified
- top Makefile: export LIBSEPOLA if DESTDIR is specified
- python: move platform from platform specific to platform shared
installation directory
- Introduce LDLIBS_LIBSEPOLA if LIBSEPOLA is not defined.
v3:
- python: Add missing slash
- Top makefile: Add default prefix
- python, mcstrans, selinux: keep the possibility to specify LIBSEPOLA
to
make depending component recompile on change. If not specified, fall
back to
libsepola in LDFLAGS path.
v2:
- Use separate directories for shared libraries as before( Comment from
Stephen Smalley)
- Rework all packages (not just selinux/sepol/semanage)