diff options
author | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-08-15 13:42:05 +0200 |
---|---|---|
committer | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-08-15 13:42:05 +0200 |
commit | 81aa8461627668493e6392782fc4e9ee37fea5b7 (patch) | |
tree | 879e7cd4219745287269c5227579730135bbe1c7 | |
parent | cc71f47f188f71327c1c980448fc38bf791ea620 (diff) | |
download | librpm-tizen-81aa8461627668493e6392782fc4e9ee37fea5b7.tar.gz librpm-tizen-81aa8461627668493e6392782fc4e9ee37fea5b7.tar.bz2 librpm-tizen-81aa8461627668493e6392782fc4e9ee37fea5b7.zip |
Build setfiles only if SELINUX is present.
-rw-r--r-- | lib/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index 167af306c..19859e53a 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -85,13 +85,15 @@ sources: lint: $(LINT) $(DEFS) $(AM_CPPFLAGS) $(librpm_la_SOURCES) +if SELINUX EXTRA_PROGRAMS += setfiles setfiles_SOURCES = setfiles.c setfiles_LDFLAGS = @LDFLAGS_STATIC@ setfiles_LDADD = -lselinux \ ../rpmio/librpmio.la \ @WITH_POPT_LIB@ - +endif + EXTRA_PROGRAMS += tds tds_SOURCES = tds.c tds_LDADD = librpm.la |