SOURCES: glib2-selinux.patch (NEW) - $LIBS without -lselinux (only...
sls
sls at pld-linux.org
Sun Mar 30 22:08:40 CEST 2008
Author: sls Date: Sun Mar 30 20:08:40 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- $LIBS without -lselinux (only SELINUX_LIBS)
---- Files affected:
SOURCES:
glib2-selinux.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/glib2-selinux.patch
diff -u /dev/null SOURCES/glib2-selinux.patch:1.1
--- /dev/null Sun Mar 30 22:08:40 2008
+++ SOURCES/glib2-selinux.patch Sun Mar 30 22:08:35 2008
@@ -0,0 +1,19 @@
+--- glib-2.16.1/configure.in.orig 2008-03-30 21:42:29.515297272 +0200
++++ glib-2.16.1/configure.in 2008-03-30 21:45:58.500934165 +0200
+@@ -1478,7 +1478,7 @@
+ msg_selinux=no
+ SELINUX_LIBS=
+ if test "x$enable_selinux" != "xno"; then
+-
++ TMP_LIBS=$LIBS
+ AC_CHECK_LIB(selinux, is_selinux_enabled,
+ [AC_CHECK_HEADERS(selinux/selinux.h,
+ [AC_SEARCH_LIBS(lgetfilecon_raw, selinux,
+@@ -1487,6 +1487,7 @@
+ msg_selinux=yes])
+ ])
+ ])
++ LIBS=$TMP_LIBS
+ fi
+ AC_SUBST(SELINUX_LIBS)
+
================================================================
More information about the pld-cvs-commit
mailing list