commit | 2105b61846aad8d0c12dec00ef0c9ebdaacd0d4a | [log] [tgz] |
---|---|---|
author | José Fonseca <jfonseca@vmware.com> | Tue Jan 06 16:20:12 2009 +0000 |
committer | José Fonseca <jfonseca@vmware.com> | Thu Jan 08 12:05:05 2009 +0000 |
tree | d3bc417dcd528c782586e8fe6b028c8ba82c783e | |
parent | 1781d7fa3880ffb6d3062414704fb4d29e9297ad [diff] [blame] |
mesa: Ensure gl* symbols are marked as dllexport on windows.
diff --git a/src/mesa/SConscript b/src/mesa/SConscript index dd0468f..01620ee 100644 --- a/src/mesa/SConscript +++ b/src/mesa/SConscript
@@ -12,6 +12,12 @@ '#/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 #