2a76c976d1
Previously, any DLL which links any function from libglapi-static would end up exporting the entire GL API surface area, due to the dllexport introduced by BUILD_GL32. This fix allows DLLs to internally include definitions of gl* APIs without having to export the entire surface. Also, remove unreachable with_shared_glapi branch already in an else block. Reviewed By: Bill Kristiansen <billkris@microsoft.com> Reviewed-by: Charmaine Lee >charmainel@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12677>