projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26ba5ce
)
mesa: Ensure gl* symbols are marked as dllexport on windows.
author
José Fonseca
<jfonseca@vmware.com>
Tue, 6 Jan 2009 16:20:12 +0000
(16:20 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Tue, 6 Jan 2009 18:23:16 +0000
(18:23 +0000)
src/mesa/SConscript
patch
|
blob
|
history
diff --git
a/src/mesa/SConscript
b/src/mesa/SConscript
index 72ddc341d1910552672ae97fa767542f37dd5f5a..21c98301d7d0973cd28fa136fd9f19bf2b255c9e 100644
(file)
--- a/
src/mesa/SConscript
+++ b/
src/mesa/SConscript
@@
-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
#