summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-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)