Credit goes to @Brecht Van Lommel (brecht) for this one (thank you)
- When building Blender as a Python module, static linking fails for OpenMP
- True for CentOS 7, Debian, Fedora, Ubuntu
- Since there should not be multiple libraries for OpenMP, statically link it when building BPY
- Fixes issue for CentOS 7, Debian, Fedora, Ubuntu
- See also: https://devtalk.blender.org/t/centos-7-manylinux-build-difficulties/15007/6?u=tylergubala
- When building blender as a Python module, OpenGL linking fails "/linux_centos7_x86_64/mesa/lib/libGL.so: not an object or archive"
- True for CentOS 7, Debian, Fedora, Ubuntu
- Should be using the system library for OpenGL (from glew-devel or something similar)
- Fixes issue for CentOS 7, Debian, Fedora, Ubuntu
- See also: https://devtalk.blender.org/t/centos-7-manylinux-build-difficulties/15007/8?u=tylergubala