Makefile of policiycoreutils use path "/usr/include/sys", this path is
changed to /usr/include/ARCH_TYPE/sys for multiarch support.

I attached patch for Makefile.

Regards,
-- 
Mitsuya Shibata
mty.shib...@gmail.com
=== modified file 'Makefile'
--- Makefile	2008-09-02 13:33:10 +0000
+++ Makefile	2011-09-25 03:16:57 +0000
@@ -1,8 +1,8 @@
 SUBDIRS = setfiles semanage load_policy newrole run_init secon audit2allow audit2why scripts sestatus semodule_package semodule semodule_link semodule_expand semodule_deps setsebool po
 
-INOTIFYH = $(shell ls /usr/include/sys/inotify.h 2>/dev/null)
+INOTIFYH = $(shell ls /usr/include/*/sys/inotify.h 2>/dev/null)
 
-ifeq (${INOTIFYH}, /usr/include/sys/inotify.h)
+ifneq (${INOTIFYH},)
 	SUBDIRS += restorecond
 endif
 

Reply via email to