mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 15:48:36 +02:00
mesa: Ensure gl* symbols are marked as dllexport on windows.
This commit is contained in:
parent
26ba5ce0e8
commit
3f46389a28
1 changed files with 6 additions and 0 deletions
|
|
@ -12,6 +12,12 @@ if env['platform'] != 'winddk':
|
|||
'#/src/mesa',
|
||||
])
|
||||
|
||||
if env['platform'] == 'windows':
|
||||
env.Append(CPPDEFINES = [
|
||||
'_GDI32_', # prevent gl* being declared __declspec(dllimport) in MS headers
|
||||
'BUILD_GL32', # declare gl* as __declspec(dllexport) in Mesa headers
|
||||
])
|
||||
|
||||
#
|
||||
# Source files
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue