From: Dave Reisner Date: Wed, 4 Apr 2012 04:22:20 +0000 (-0400) Subject: udev: avoid building selinux parts without have_selinux X-Git-Tag: v183~450 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b1a953e08917030489cd9adb2a17dfd407ce14b;p=systemd udev: avoid building selinux parts without have_selinux --- 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)