summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2014-10-20 11:06:51 -0400
committerMatthew Barnes <mbarnes@redhat.com>2014-10-20 15:23:55 -0400
commita4d904ee38614918d9a7be2a245c179c39661e72 (patch)
tree888a27ef7a04fd608bb2a9b7bf1c7ddb672de8a6
parentcdfcf09316ed61964bde950b72092a96a221493d (diff)
downloadostree-a4d904ee38614918d9a7be2a245c179c39661e72.tar.gz
build: Include SELinux cflags with libostree build too
This is likely another issue with newer automake. https://bugzilla.gnome.org/738875
-rw-r--r--Makefile-libostree.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile-libostree.am b/Makefile-libostree.am
index 4d1f9019..57408fef 100644
--- a/Makefile-libostree.am
+++ b/Makefile-libostree.am
@@ -123,6 +123,11 @@ libostree_1_la_CFLAGS += $(OT_INTERNAL_SOUP_CFLAGS)
libostree_1_la_LIBADD += $(OT_INTERNAL_SOUP_LIBS)
endif
+if USE_SELINUX
+libostree_1_la_CFLAGS += $(OT_DEP_SELINUX_CFLAGS)
+libostree_1_la_LIBADD += $(OT_DEP_SELINUX_LIBS)
+endif
+
if BUILDOPT_INTROSPECTION
OSTree-1.0.gir: libostree-1.la Makefile
OSTree_1_0_gir_EXPORT_PACKAGES = ostree-1