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
This commit is contained in:
parent
df121b868a
commit
0c771e260b
|
@ -1052,7 +1052,7 @@ AC_SUBST([GLESv1_CM_PC_LIB_PRIV])
|
||||||
AC_SUBST([GLESv2_LIB_DEPS])
|
AC_SUBST([GLESv2_LIB_DEPS])
|
||||||
AC_SUBST([GLESv2_PC_LIB_PRIV])
|
AC_SUBST([GLESv2_PC_LIB_PRIV])
|
||||||
|
|
||||||
GLAPI_LIB_DEPS="-lpthread"
|
GLAPI_LIB_DEPS="-lpthread $SELINUX_LIBS"
|
||||||
AC_SUBST([GLAPI_LIB_DEPS])
|
AC_SUBST([GLAPI_LIB_DEPS])
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue