Mesa (master): add $SELINUX_LIBS to EGL and OpenVG lib deps

Dave Airlie airlied at kemper.freedesktop.org
Wed May 18 07:59:08 UTC 2011


Module: Mesa
Branch: master
Commit: 2758e65f28cc68411775ec41c53f773268cddc05
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2758e65f28cc68411775ec41c53f773268cddc05

Author: Tapani Pälli <tapani.palli at gmail.com>
Date:   Mon May 16 16:56:43 2011 +0300

add $SELINUX_LIBS to EGL and OpenVG lib deps

Correctly links against selinux library when MESA is built with --enable-selinux option.

Fixes bug #36333 in Freedesktop bugzilla

Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index c705d45..a95012c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1186,7 +1186,7 @@ if test "x$enable_egl" = xno; then
 fi
 if test "x$enable_egl" = xyes; then
     SRC_DIRS="$SRC_DIRS egl"
-    EGL_LIB_DEPS="$DLOPEN_LIBS -lpthread"
+    EGL_LIB_DEPS="$DLOPEN_LIBS $SELINUX_LIBS -lpthread"
     EGL_DRIVERS_DIRS=""
     if test "$enable_static" != yes; then
         # build egl_glx when libGL is built
@@ -1581,7 +1581,7 @@ x*yes*)
 esac
 if test "x$enable_openvg" = xyes; then
     EGL_CLIENT_APIS="$EGL_CLIENT_APIS "'$(VG_LIB)'
-    VG_LIB_DEPS="$VG_LIB_DEPS -lpthread"
+    VG_LIB_DEPS="$VG_LIB_DEPS $SELINUX_LIBS -lpthread"
 fi
 
 AC_SUBST([VG_LIB_DEPS])




More information about the mesa-commit mailing list