From: Chia-I Wu Date: Fri, 4 Nov 2011 08:32:17 +0000 (+0800) Subject: shared-glapi: fix a linking error for SELinux X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0c771e260b20de06aa0a9671130119304e9fe0db;p=mesa.git 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 --- 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])