]> git.pld-linux.org Git - packages/glib2.git/blame - glib2-selinux.patch
- $LIBS without -lselinux (only SELINUX_LIBS)
[packages/glib2.git] / glib2-selinux.patch
CommitLineData
af3ffc27
SS
1--- glib-2.16.1/configure.in.orig 2008-03-30 21:42:29.515297272 +0200
2+++ glib-2.16.1/configure.in 2008-03-30 21:45:58.500934165 +0200
3@@ -1478,7 +1478,7 @@
4 msg_selinux=no
5 SELINUX_LIBS=
6 if test "x$enable_selinux" != "xno"; then
7-
8+ TMP_LIBS=$LIBS
9 AC_CHECK_LIB(selinux, is_selinux_enabled,
10 [AC_CHECK_HEADERS(selinux/selinux.h,
11 [AC_SEARCH_LIBS(lgetfilecon_raw, selinux,
12@@ -1487,6 +1487,7 @@
13 msg_selinux=yes])
14 ])
15 ])
16+ LIBS=$TMP_LIBS
17 fi
18 AC_SUBST(SELINUX_LIBS)
19
This page took 0.072589 seconds and 4 git commands to generate.