From 9b1a953e08917030489cd9adb2a17dfd407ce14b Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Wed, 4 Apr 2012 00:22:20 -0400 Subject: [PATCH] udev: avoid building selinux parts without have_selinux --- Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index d83a5a1d..2b04142e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1152,8 +1152,12 @@ libudev_private_la_SOURCES =\ $(libudev_la_SOURCES) \ src/udev/libudev-util-private.c \ src/udev/libudev-device-private.c \ - src/udev/libudev-queue-private.c \ + src/udev/libudev-queue-private.c + +if HAVE_SELINUX +libudev_private_la_SOURCES +=\ src/udev/libudev-selinux-private.c +endif libudev_private_la_LIBADD = \ $(SELINUX_LIBS) -- 2.39.5