[PATCH] libsepol: Add INCLUDEDIR to utils/Makefile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



fcb5d5c removed ../include from CFLAGS from libsepol/utils/Makefile so
that a build tool can't find sepol/sepol.h when libsepol is built on a
system without sepol.h in standard paths.

Fixes:
chkcon.c:1:10: fatal error: sepol/sepol.h: No such file or directory
 #include <sepol/sepol.h>

Signed-off-by: Petr Lautrbach <plautrba@xxxxxxxxxx>
---
 libsepol/utils/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libsepol/utils/Makefile b/libsepol/utils/Makefile
index a13164e1..f5097be7 100644
--- a/libsepol/utils/Makefile
+++ b/libsepol/utils/Makefile
@@ -1,6 +1,7 @@
 # Installation directories.
 PREFIX ?= $(DESTDIR)/usr
 BINDIR ?= $(PREFIX)/bin
+INCLUDEDIR ?= $(PREFIX)/include
 
 CFLAGS ?= -Wall -Werror
 LDFLAGS += -L../src
-- 
2.12.2




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux