summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-04-04 00:22:20 -0400
committerKay Sievers <kay.sievers@vrfy.org>2012-04-04 06:44:45 +0200
commit9b1a953e08917030489cd9adb2a17dfd407ce14b (patch)
treeb993bfd60dcdfe8016bc90b659922f4aaeee9ade
parent3672af61aa3697eb6fa5d15f3bf0b64ea8c9f7f3 (diff)
udev: avoid building selinux parts without have_selinux
-rw-r--r--Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index d83a5a1df3..2b04142ea7 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)