wgl: Don't use BUILD_GL32 for wgl frontend

The set of GL exports from OpenGL32.dll is controlled by a .def file,
there's no need to also use __declspec(dllexport) for all of them.

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>
This commit is contained in:
Jesse Natalie 2021-09-01 07:01:31 -07:00
parent 2a76c976d1
commit 675775b140

View file

@ -47,7 +47,6 @@ libwgl = static_library(
),
c_args : [
'-D_GDI32_', # prevent wgl* being declared __declspec(dllimport)
'-DBUILD_GL32', # declare gl* as __declspec(dllexport) in Mesa headers
'-DWIN32_LEAN_AND_MEAN', # http://msdn2.microsoft.com/en-us/library/6dwk3a1z.aspx
_c_args_wgl
],