mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Fix selinux linking
svn path=/trunk/; revision=7412
This commit is contained in:
parent
29614a6de5
commit
0eca17a9f2
@ -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>
|
||||
|
||||
* glib/gstrfuncs.c (g_parse_long_long): make "endptr" const since
|
||||
|
@ -1515,7 +1515,7 @@ if test "x$enable_selinux" != "xno"; then
|
||||
|
||||
AC_CHECK_LIB(selinux, is_selinux_enabled,
|
||||
[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])
|
||||
SELINUX_LIBS="-lselinux"
|
||||
msg_selinux=yes])
|
||||
|
Loading…
Reference in New Issue
Block a user