Fix selinux linking

svn path=/trunk/; revision=7412
This commit is contained in:
Matthias Clasen 2008-08-28 19:45:58 +00:00
parent 29614a6de5
commit 0eca17a9f2
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-08-28 Matthias Clasen <mclsaen@redhat.com>
* configure.in: Change libselinux detection to not link libglib
against it.
2008-08-28 Michael Natterer <mitch@imendio.com> 2008-08-28 Michael Natterer <mitch@imendio.com>
* glib/gstrfuncs.c (g_parse_long_long): make "endptr" const since * glib/gstrfuncs.c (g_parse_long_long): make "endptr" const since

View File

@ -1515,7 +1515,7 @@ if test "x$enable_selinux" != "xno"; then
AC_CHECK_LIB(selinux, is_selinux_enabled, AC_CHECK_LIB(selinux, is_selinux_enabled,
[AC_CHECK_HEADERS(selinux/selinux.h, [AC_CHECK_HEADERS(selinux/selinux.h,
[AC_SEARCH_LIBS(lgetfilecon_raw, selinux, [AC_CHECK_LIB(selinux, lgetfilecon_raw,
[AC_DEFINE(HAVE_SELINUX, 1, [Define to 1 if libselinux is available]) [AC_DEFINE(HAVE_SELINUX, 1, [Define to 1 if libselinux is available])
SELINUX_LIBS="-lselinux" SELINUX_LIBS="-lselinux"
msg_selinux=yes]) msg_selinux=yes])