selinux/mcstrans
Nicolas Iooss a206297ece mcstrans/utils: make "make all" use $DESTDIR
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>
2016-11-29 08:44:46 -05:00
..
man Move policycoreutils/mcstrans to mcstrans. 2016-11-16 11:19:50 -05:00
share Move policycoreutils/mcstrans to mcstrans. 2016-11-16 11:19:50 -05:00
src mcstrans: fix global "make install" 2016-11-17 16:49:24 -05:00
utils mcstrans/utils: make "make all" use $DESTDIR 2016-11-29 08:44:46 -05:00
COPYING Move policycoreutils/mcstrans to mcstrans. 2016-11-16 11:19:50 -05:00
Makefile Add stub make test targets to new subdirs 2016-11-16 11:20:05 -05:00
TODO Move policycoreutils/mcstrans to mcstrans. 2016-11-16 11:19:50 -05:00
VERSION Add VERSION files for new components 2016-11-16 11:19:51 -05:00