mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-25 07:22:07 +00:00
a206297ece
When running "make all" in the root directory on a system where SELinux is not installed and where $DESTDIR targets a directory where the libraries have been installed, the build fails in mcstrans/utils with the following error: transcon.c:7:10: fatal error: 'selinux/selinux.h' file not found and then: /usr/bin/ld: cannot find -lselinux Fix this by adding -I$(PREFIX)/include to CFLAGS and -L$(LIBDIR) to LDLIBS like other subdirectories do. While at it, remove the useless -L../src parameter. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> |
||
---|---|---|
.. | ||
man | ||
share | ||
src | ||
utils | ||
COPYING | ||
Makefile | ||
TODO | ||
VERSION |