[ostree] build: Include SELinux cflags with libostree build too



commit a4d904ee38614918d9a7be2a245c179c39661e72
Author: Matthew Barnes <mbarnes redhat com>
Date:   Mon Oct 20 11:06:51 2014 -0400

    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 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/Makefile-libostree.am b/Makefile-libostree.am
index 4d1f901..57408fe 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]