mesa: Ensure gl* symbols are marked as dllexport on windows.

This commit is contained in:
José Fonseca
2009-01-06 16:20:12 +00:00
parent 1781d7fa38
commit 2105b61846

View File

@@ -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
#