From 281c63156c61573a10a6197a149cde00debbf675 Mon Sep 17 00:00:00 2001
From: Sergey Sharybin <sergey.vfx@gmail.com>
Date: Thu, 27 Jun 2019 10:56:03 +0200
Subject: [PATCH] Fix static libraries detection for Mesa

One of the libraries is to be distributed with the software-gl
bundled into the release.

XCB library seems to be required, and seems we can not do much
about it.
---
 check_blender_release/check_static_binaries.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/check_blender_release/check_static_binaries.py b/check_blender_release/check_static_binaries.py
index f467c90..d822e75 100644
--- a/check_blender_release/check_static_binaries.py
+++ b/check_blender_release/check_static_binaries.py
@@ -63,6 +63,10 @@ ALLOWED_LIBS = (
     "libGL.so",
     "libGLU.so",
 
+    # Library the software-GL is linking against and distributes with it.
+    'libglapi.so',
+    'libxcb.so',
+
     # Own dependencies we don't link statically.
     "libfreetype.so",
 )
-- 
GitLab