[Mesa-dev] [PATCH 4/5] configure: explicitly require shared glapi for enable-dri
Emil Velikov
emil.l.velikov at gmail.com
Wed Dec 7 13:25:00 UTC 2016
From: Emil Velikov <emil.velikov at collabora.com>
We've been using and depending on it for at least a couple of years.
Make it obvious and error out, should one opt for it.
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
configure.ac | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 162c31a..f1f41db 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1577,9 +1577,7 @@ if test "x$enable_shader_cache" = "xyes"; then
fi
if test "x$enable_dri" = xyes; then
- if test "$enable_static" = yes; then
- AC_MSG_ERROR([Cannot use static libraries for DRI drivers])
- fi
+ require_dri_shared_libs_and_glapi "DRI"
# not a hard requirement as swrast does not depend on it
if test "x$have_libdrm" = xyes; then
--
2.10.2
More information about the mesa-dev
mailing list