diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2012-10-11 15:09:15 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2012-10-11 15:14:48 +0300 |
commit | f9ff6e7234d4f77b5f53f5481ba7cab0efabe707 (patch) | |
tree | 907804b2147f5f595e84fca427ae9ce5091494fa /plugins | |
parent | e3ed69591f36a5862680d4a8a7999a6ed2838ed0 (diff) | |
download | librpm-tizen-f9ff6e7234d4f77b5f53f5481ba7cab0efabe707.tar.gz librpm-tizen-f9ff6e7234d4f77b5f53f5481ba7cab0efabe707.tar.bz2 librpm-tizen-f9ff6e7234d4f77b5f53f5481ba7cab0efabe707.zip |
Only try compiling sepolicy plugin if selinux is enabled
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 69230de7d..a9c962cb7 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -13,11 +13,14 @@ AM_LDFLAGS = -avoid-version -module -shared pluginsdir = $(libdir)/rpm-plugins -plugins_LTLIBRARIES = exec.la sepolicy.la +plugins_LTLIBRARIES = exec.la exec_la_SOURCES = plugin.h exec.c exec_la_LIBADD = $(top_builddir)/lib/librpm.la $(top_builddir)/rpmio/librpmio.la +if SELINUX sepolicy_la_SOURCES = plugin.h sepolicy.c sepolicy_la_LIBADD = $(top_builddir)/lib/librpm.la $(top_builddir)/rpmio/librpmio.la @WITH_SELINUX_LIB@ @WITH_SEMANAGE_LIB@ +plugins_LTLIBRARIES += sepolicy.la +endif |