From a4d904ee38614918d9a7be2a245c179c39661e72 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 20 Oct 2014 11:06:51 -0400 Subject: [PATCH] build: Include SELinux cflags with libostree build too This is likely another issue with newer automake. https://bugzilla.gnome.org/738875 --- Makefile-libostree.am | 5 +++++ 1 file changed, 5 insertions(+) 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