diff options
author | greg@kroah.com <greg@kroah.com> | 2004-02-28 00:52:20 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:32:31 -0700 |
commit | 8481f8ce2bd2b19ebcf3cb96ac6825093f626b0f (patch) | |
tree | 9311b5e7fe1b85b1d5645d1b3dd4a4cfc0ab7737 /Makefile | |
parent | 89067448b935d580496555f257dd5512c4c39098 (diff) |
[PATCH] Add initial SELinux support for udev
Based on a patch from Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -227,6 +227,14 @@ ifeq ($(USE_DBUS), true) OBJS += udev_dbus.o endif +# if USE_SELINUX is enabled, then we do not strip or optimize +ifeq ($(strip $(USE_SELINUX)),true) + CFLAGS += -DUSE_SELINUX + OBJS += udev_selinux.o + LIB_OBJS += -lselinux +endif + + # header files automatically generated GEN_HEADERS = udev_version.h |