summaryrefslogtreecommitdiffstats
path: root/loader2
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-03-13 20:57:08 +0000
committerJeremy Katz <katzj@redhat.com>2006-03-13 20:57:08 +0000
commit090c6cb5f267e080bf62abc8ea88c4b973459a3a (patch)
tree317ecd027b999c7e63ae30f6cce4792a2bfff393 /loader2
parentb1e28e099a9c3edfd76abdad0a2442f2649dab7b (diff)
downloadanaconda-090c6cb5f267e080bf62abc8ea88c4b973459a3a.tar.gz
anaconda-090c6cb5f267e080bf62abc8ea88c4b973459a3a.tar.xz
anaconda-090c6cb5f267e080bf62abc8ea88c4b973459a3a.zip
2006-03-13 Matt Wilson <msw@rpath.com>
* Makefile.inc: Add flag for whether or not to use SELinux. * isys/Makefile: Conditionalize SELinux. * isys/isys.c: Likewise. * loader2/Makefile: Likewise.
Diffstat (limited to 'loader2')
-rw-r--r--loader2/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/loader2/Makefile b/loader2/Makefile
index 0492e7eac..5528c4abe 100644
--- a/loader2/Makefile
+++ b/loader2/Makefile
@@ -11,7 +11,10 @@ SLANGLIB = -lslang
NEWTLIB = -lnewt
ISYSLIB = ../isys/libisys.a
GUNZIP = -lz
-DMLIB = -ldevmapper -lselinux -lsepol
+DMLIB = -ldevmapper
+ifeq (1, $(USESELINUX))
+DMLIB += -lselinux -lsepol
+endif
BINS = loader