2011/9/25 Mitsuya Shibata <mty.shib...@gmail.com>:
> I attached patch for Makefile.

Attached rewrite patch to use dpkg-architecture.

Regards,
-- 
Mitsuya Shibata
mty.shib...@gmail.com
=== modified file 'Makefile'
--- Makefile	2008-09-02 13:33:10 +0000
+++ Makefile	2011-09-25 09:44:59 +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/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)/sys/inotify.h 2>/dev/null)
 
-ifeq (${INOTIFYH}, /usr/include/sys/inotify.h)
+ifneq (${INOTIFYH},)
 	SUBDIRS += restorecond
 endif
 

Reply via email to