Mesa (master): shared-glapi: fix a linking error for SELinux

Chia-I Wu olv at kemper.freedesktop.org
Sat Nov 5 06:42:22 UTC 2011


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

Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Fri Nov  4 16:32:17 2011 +0800

shared-glapi: fix a linking error for SELinux

Link with -lselinux when SELinux is enabled.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41571

---

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

diff --git a/configure.ac b/configure.ac
index 30b3b96..707acf3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1052,7 +1052,7 @@ AC_SUBST([GLESv1_CM_PC_LIB_PRIV])
 AC_SUBST([GLESv2_LIB_DEPS])
 AC_SUBST([GLESv2_PC_LIB_PRIV])
 
-GLAPI_LIB_DEPS="-lpthread"
+GLAPI_LIB_DEPS="-lpthread $SELINUX_LIBS"
 AC_SUBST([GLAPI_LIB_DEPS])
 
 




More information about the mesa-commit mailing list