mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-28 10:07:13 +02:00
Change libselinux detection to not link libglib
against it. svn path=/branches/glib-2-16/; revision=7459
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
* configure.in: Fix detection of struct statfs fields.
|
* configure.in: Fix detection of struct statfs fields.
|
||||||
Accept lesser mmaps.
|
Accept lesser mmaps.
|
||||||
|
Change libselinux detection to not link libglib against it.
|
||||||
|
|
||||||
2008-08-31 Emmanuele Bassi <ebassi@gnome.org>
|
2008-08-31 Emmanuele Bassi <ebassi@gnome.org>
|
||||||
|
|
||||||
|
@@ -1505,7 +1505,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])
|
||||||
|
Reference in New Issue
Block a user