summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-11-04 16:32:17 +0800
committerChia-I Wu <[email protected]>2011-11-05 14:42:05 +0800
commit0c771e260b20de06aa0a9671130119304e9fe0db (patch)
treeaa5289d19301eac861e84bb059791928c695b664 /configure.ac
parentdf121b868a13e7ca76f19d1488b625c02d632a47 (diff)
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
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 30b3b96c30e..707acf3cf45 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])