X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile;h=47516b3e371408048f22882946360937976e7c90;hb=fbda4a34d846946bf8ed63deadfd6e65b2299792;hp=ece518f53eb5105bb9f3eeb36ee5053c5f1e5c4a;hpb=9badc83e4f6d67e7d646c5f438597154f34ad0ab;p=elogind.git diff --git a/Makefile b/Makefile index ece518f53..47516b3e3 100644 --- a/Makefile +++ b/Makefile @@ -203,7 +203,7 @@ HEADERS = \ udev_db.h \ udev_sysfs.h \ logging.h \ - selinux.h \ + udev_selinux.h \ list.h SYSFS_OBJS = \ @@ -245,6 +245,11 @@ ifeq ($(strip $(USE_KLIBC)),true) OBJS += klibc_fixups/klibc_fixups.a endif +ifeq ($(strip $(USE_SELINUX)),true) + UDEV_OBJS += udev_selinux.o + LIB_OBJS += -lselinux +endif + ifeq ($(strip $(V)),false) QUIET=@$(PWD)/ccdv HOST_PROGS=ccdv